From eaddabf55719a13f19bfadd5519e9b9a85cf95ff Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 24 Aug 2015 17:13:37 +0200 Subject: [PATCH] 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 --- package/tftpd/S80tftpd-hpa | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/tftpd/S80tftpd-hpa b/package/tftpd/S80tftpd-hpa index 41c28d148d..08443a4c5f 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 -- 2.30.2