mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
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
|
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"
|
DESC="HPA's tftpd"
|
||||||
NAME=in.tftpd
|
NAME=tftpd
|
||||||
DAEMON=/usr/sbin/$NAME
|
DAEMON=/usr/sbin/$NAME
|
||||||
PIDFILE=/var/run/$NAME.pid
|
PIDFILE=/var/run/$NAME.pid
|
||||||
SCRIPTNAME=/etc/init.d/S80tftpd-hpa
|
SCRIPTNAME=/etc/init.d/S80tftpd-hpa
|
||||||
|
Loading…
x
Reference in New Issue
Block a user