/etc/init/tftpd-hpa.conf is in tftpd-hpa 5.2-1ubuntu1.
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 17 18 19 20 21 22 23 24 25 26 27 28 | # tftp-hpa - trivial ftp server
description "tftp-hpa server"
author "Chuck Short <zulcss@ubuntu.com>"
start on runlevel [2345]
stop on runlevel [!2345]
console output
expect fork
respawn
env PIDFILE="/var/run/tftpd-hpa.pid"
env DEFAULTS="/etc/default/tftpd-hpa"
script
if [ -f ${DEFAULTS} ]; then
. ${DEFAULTS}
fi
if [ ! -d "${TFTP_DIRECTORY}" ]; then
echo "${TFTP_DIRECTORY} missing, aborting."
exit 1
fi
exec /usr/sbin/in.tftpd --listen --user ${TFTP_USERNAME} --address ${TFTP_ADDRESS} ${TFTP_OPTIONS} ${TFTP_DIRECTORY}
end script
|