tftpd: fix init script
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 24 Aug 2015 15:13:37 +0000 (17:13 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 24 Aug 2015 15:13:37 +0000 (17:13 +0200)
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>
package/tftpd/S80tftpd-hpa

index 41c28d148d4882f0742436c7b31b3511faeeb0a4..08443a4c5f5bca89f4b45e5bac3e3c40e561d9f8 100755 (executable)
@@ -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