diff mbox series

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

Message ID 20260210115035.670980-1-peter.marko@siemens.com
State Under Review
Headers show
Series busybox: adapt busybox-udhcpd init script to new start-stop-daemon path | expand

Commit Message

Peter Marko Feb. 10, 2026, 11:50 a.m. UTC
From: Peter Marko <peter.marko@siemens.com>

Commit 9998d91f982cd323fa5da20edda8b1828bd4fb5d moved start-stop-daemon
from /sbin to /usr/sbin.
Adapt busybox-udhcpd to this change.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta/recipes-core/busybox/files/busybox-udhcpd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-core/busybox/files/busybox-udhcpd b/meta/recipes-core/busybox/files/busybox-udhcpd
index c43903e8dc..d35f8540d1 100755
--- a/meta/recipes-core/busybox/files/busybox-udhcpd
+++ b/meta/recipes-core/busybox/files/busybox-udhcpd
@@ -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)