tftpd: fix init script
The daemon binary is tftpd, not in.tftpd. While we are at it, drop the unneeded /usr/local from the PATH. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
29a0f05579
commit
eaddabf557
@ -4,9 +4,9 @@ OPTIONS="-c -l -s /var/lib/tftpboot"
|
||||
|
||||
set -e
|
||||
|
||||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
DESC="HPA's tftpd"
|
||||
NAME=in.tftpd
|
||||
NAME=tftpd
|
||||
DAEMON=/usr/sbin/$NAME
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/S80tftpd-hpa
|
||||
|
Loading…
Reference in New Issue
Block a user