Fix rc-service call by passing -Ds to the service and not rc-service.
authorRoy Marples <roy@marples.name>
Thu, 23 Dec 2010 22:22:38 +0000 (22:22 +0000)
committerRoy Marples <roy@marples.name>
Thu, 23 Dec 2010 22:22:38 +0000 (22:22 +0000)
configure

index 7676e40f0df1bf3211bda51a2e1e619027e8e5ee..39bdddb65412d2b2e988e812e0fb8c925103f096 100755 (executable)
--- a/configure
+++ b/configure
@@ -128,7 +128,7 @@ fi
 if [ -z "$RESTARTCMD" ]; then
        printf "Checking for OpenRC ... "
        if [ -x /sbin/rc-service ]; then
-               RESTARTCMD="/sbin/rc-service -e \1 \&\& /sbin/rc-service \1 -Ds restart"
+               RESTARTCMD="/sbin/rc-service -e \1 \&\& /sbin/rc-service \1 -- -Ds restart"
                echo "yes"
        else
                echo "no"