Skip to contentSkip to conversation

busybox: adapt busybox-udhcpd init script to new start-stop-daemon path

PATCH New Peter Marko 1 participant 1 message Feb 10

lore
Share & tools
lore
#0 lore raw

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.

---
 meta/recipes-core/busybox/files/busybox-udhcpd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/busybox/files/busybox-udhcpd +2 -2
index c43903e8dc..d35f8540d1 100755
@@ -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)