Detect Slackware named (rc.bind) service.
authorRoy Marples <roy@marples.name>
Tue, 2 Oct 2012 13:27:59 +0000 (13:27 +0000)
committerRoy Marples <roy@marples.name>
Tue, 2 Oct 2012 13:27:59 +0000 (13:27 +0000)
named.in

index a89deb2693bcfb080a823cbd32ff6bbb80f290cd..e49d0ceb1ebf24845d67f5e7b65ad4c39ee1275f 100644 (file)
--- a/named.in
+++ b/named.in
@@ -40,6 +40,9 @@ then
        if [ -x "@RCDIR@"/bind9 ]; then
                # Debian and derivatives
                named_service=bind9
+       elif [ -x "@RCDIR@"/rc.bind ]; then
+               # Slackware
+               named_service=rc.bind
        fi
 fi
 : ${named_service:=named}