Skip to content

Commit 4075542

Browse files
committed
Fix error in log during boot about unsupported command
Sep 27 04:10:06 infix finit[1]: api_cb():Unsupported command (cmd: 13, data: dnsmasq) in runlevel S and 6/0. Fixes #1161 Signed-off-by: Joachim Wiberg <[email protected]>
1 parent fe8610b commit 4075542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/openresolv/3.13.2/finit-support.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ diff -ru openresolv-3.12.0.orig/resolvconf.in openresolv-3.12.0/resolvconf.in
66
/usr/bin/systemctl restart $1.service
77
fi'
88
+ elif [ -x /sbin/initctl ]; then
9-
+ RESTARTCMD="/sbin/initctl -bnq restart \$1"
9+
+ RESTARTCMD="runlevel >/dev/null 2>&1 && /sbin/initctl -bnq restart \$1"
1010
elif [ -x /sbin/rc-service ] &&
1111
{ [ -s /libexec/rc/init.d/softlevel ] ||
1212
[ -s /run/openrc/softlevel ]; }

0 commit comments

Comments
 (0)