/usr/share/ltsp/plugins/ltsp-build-client/Fedora/000-verify-tftpdir 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 | # Check that tftp dir in /etc/xinetd.d/tftp matches the distro's expected location
case "$MODE" in
configure)
TFTPCONF=$(cat /etc/xinetd.d/tftp |grep server_args | awk -F"-s " {'print $2'})
if [ "$TFTPCONF" != "$TFTPDIR" ]; then
echo "ERROR: /etc/xinetd.d/tftp is configured to $TFTPCONF while $TFTPDIR is expected."
echo " /tftpboot was the old location, while /var/lib/tftpboot is default in Fedora 9+."
echo " You may need to edit /etc/xinetd.d/tftp manually."
exit 1
fi
;;
esac
|