Search
j0ke.net Open Build Service
>
Projects
>
server:dns
>
pdns-recursor
> pdns-recursor-init-rh.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File pdns-recursor-init-rh.patch of Package pdns-recursor
--- pdns-recursor.init.d.orig 2011-01-20 23:58:11.527523104 +0100 +++ pdns-recursor.init.d 2011-01-20 23:59:08.827170729 +0100 @@ -13,7 +13,7 @@ doPC() { - ret=`$BINARYPATH/rec_control $EXTRAOPTS $1 $2 2> /dev/null` + ret=`$SBINARYPATH/rec_control $EXTRAOPTS $1 $2 2> /dev/null` } @@ -22,7 +22,7 @@ case "$1" in status) - if test "$NOTRUNNING" = "0" + if [ "$NOTRUNNING" == "0" ] then echo "running" else @@ -32,7 +32,7 @@ stop) echo -n "Stopping PowerDNS recursing nameserver: " - if test "$NOTRUNNING" = "0" + if [ "$NOTRUNNING" == "0" ] then doPC quit echo $ret @@ -50,7 +50,7 @@ start) echo -n "Starting PowerDNS recursing nameserver: " - if test "$NOTRUNNING" = "0" + if [ "$NOTRUNNING" == "0" ] then echo "already running" else