busybox: adapt busybox-udhcpd init script to new start-stop-daemon path
PATCH 1/1 busybox: adapt busybox-udhcpd init script to new start-stop-daemon path
From: Peter Marko <[email protected]>
Commit 9998d91f982cd323fa5da20edda8b1828bd4fb5d moved start-stop-daemon from /sbin to /usr/sbin.
Adapt busybox-udhcpd to this change.
Signed-off-by Peter Marko <[email protected]>
--- meta/recipes-core/busybox/files/busybox-udhcpd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/busybox/files/busybox-udhcpd +2 -2
@@ -15,12 +15,12 @@ case "$1" in echo "error: /etc/udhcpd.conf is missing." exit 1 fi - /sbin/start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS + /usr/sbin/start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS echo "done." ;; stop) echo -n "stopping $DESC: $NAME... " - /sbin/start-stop-daemon -K -n $NAME + /usr/sbin/start-stop-daemon -K -n $NAME echo "done." ;; restart)