3 OPTIONS="-c -l -s /var/lib/tftpboot"
7 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
10 DAEMON=/usr/sbin/$NAME
11 PIDFILE=/var/run/$NAME.pid
12 SCRIPTNAME=/etc/init.d/S80tftpd-hpa
15 # Function that starts the daemon/service.
18 mkdir -p /var/lib/tftpboot
19 chmod 1777 /var/lib/tftpboot
24 # Function that stops the daemon/service.
31 # Function that sends a SIGHUP to the daemon/service.
40 echo -n "Starting $DESC: "
45 echo -n "Stopping $DESC: "
51 # If the daemon can reload its configuration without
52 # restarting (for example, when it is sent a SIGHUP),
53 # then implement that here.
55 # If the daemon responds to changes in its config file
56 # directly anyway, make this an "exit 0".
58 # echo -n "Reloading $DESC configuration..."
64 # If the "reload" option is implemented, move the "force-reload"
65 # option to the "reload" entry above. If not, "force-reload" is
66 # just the same as "restart".
68 echo -n "Restarting $DESC: "
75 # echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
76 echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2