[Buildroot] [git commit] tftpd: fix init script

Peter Korsgaard peter at korsgaard.com
Mon Aug 24 15:13:37 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=eaddabf55719a13f19bfadd5519e9b9a85cf95ff
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at korsgaard.com>
---
 package/tftpd/S80tftpd-hpa |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/tftpd/S80tftpd-hpa b/package/tftpd/S80tftpd-hpa
index 41c28d1..08443a4 100755
--- a/package/tftpd/S80tftpd-hpa
+++ b/package/tftpd/S80tftpd-hpa
@@ -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


More information about the buildroot mailing list