mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 20:10:35 -09:00
package/mrouted: fix invalid daemon path in S41mrouted
S41mrouted hard-coded /sbin/mrouted, but mrouted has always installed
to /usr/sbin/mrouted. This went unnoticed with BR2_ROOTFS_MERGED_USR=y,
but the daemon fails to start without it.
Also drop the script's executable bit to match other sysv init
scripts that do not set it.
Introduced in c25115daf2
(package/mrouted: add sysv init script).
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
5ce1dc60fb
commit
d8f408b1f1
2
package/mrouted/S41mrouted
Executable file → Normal file
2
package/mrouted/S41mrouted
Executable file → Normal file
@@ -11,7 +11,7 @@ MROUTED_ARGS="-w 30"
|
||||
start() {
|
||||
printf 'Starting %s: ' "$DAEMON"
|
||||
# shellcheck disable=SC2086 # we need the word splitting
|
||||
start-stop-daemon -S -q -p "$PIDFILE" -x "/sbin/$DAEMON" \
|
||||
start-stop-daemon -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \
|
||||
-- $MROUTED_ARGS
|
||||
status=$?
|
||||
if [ "$status" -eq 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user