From: Roy Marples Date: Sat, 23 Oct 2010 00:15:42 +0000 (+0000) Subject: Fix invoke-rc.d detection, #202. X-Git-Tag: v5.2.9~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51fab30d23a59204ffd2ce26f567f381d55d70ee;p=thirdparty%2Fdhcpcd.git Fix invoke-rc.d detection, #202. --- diff --git a/configure b/configure index eb73e277..80dc53f5 100755 --- a/configure +++ b/configure @@ -378,7 +378,7 @@ if [ -z "$SERVICECMD" ]; then echo "no" fi fi -if [ -z "$SERVICECMD"]; then +if [ -z "$SERVICECMD" ]; then printf "Checking for invoke-rc.d ... " if [ -x /usr/sbin/invoke-rc.d ]; then SERVICEEXISTS="/usr/sbin/invoke-rc.d --query --quiet \$1 start >/dev/null 2>&1 || [ \$? = 104 ]"