]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Support GNU style calling.
authorRoy Marples <roy@marples.name>
Mon, 14 Apr 2008 19:24:23 +0000 (19:24 +0000)
committerRoy Marples <roy@marples.name>
Mon, 14 Apr 2008 19:24:23 +0000 (19:24 +0000)
dhcpcd.sh

index 86dea1228277a64313b474dfc143db932dce0f8f..b702daf5ed1e2f5abd4c5fc2788480bb4d0292a5 100755 (executable)
--- 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