|
@@ -0,0 +1,38 @@
+--- 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
|