/usr/share/ltsp/plugins/ltsp-build-client/common/000-check-paths is in ltsp-server 5.4.2-6+deb7u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | case "$MODE" in
configure)
if [ -z "$CHROOTEXEC" ]; then
for c in $(which chroot 2> /dev/null) /usr/sbin/chroot /usr/bin/chroot; do
if [ -f "$c" ] && [ -x "$c" ]; then
CHROOTEXEC="$c"
break
fi
done
fi
if [ -z "$CHROOTEXEC" ]; then
echo "ERROR: chroot command not found!"
exit 1
fi
;;
esac
|