From: Roy Marples Date: Mon, 14 Apr 2008 19:24:23 +0000 (+0000) Subject: Support GNU style calling. X-Git-Tag: v4.0.2~488 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e7aed9b3314a082e9dbe575b1b04db2c69a64fb;p=thirdparty%2Fdhcpcd.git Support GNU style calling. --- diff --git a/dhcpcd.sh b/dhcpcd.sh index 86dea122..b702daf5 100755 --- a/dhcpcd.sh +++ b/dhcpcd.sh @@ -72,7 +72,7 @@ do_service() fi if type rc-service >/dev/null 2>/dev/null; then - rc-service "${service}" --nodeps "${action}" "$@" + rc-service "${service}" -- --nodeps "${action}" "$@" elif [ -x /sbin/service ]; then service "${service}" "${action}" "$@" elif [ -x /etc/init.d/"${service}" -a -x /sbin/runscript ]; then