1 #!/bin/sh /etc/rc.common
4 config_file=/etc/bind/named.conf
5 pid_file=/var/run/named/named.pid
10 echo " named already running with PID `cat $pid_file`"
13 echo Starting isc-bind
15 /usr/sbin/named -c $config_file
19 echo " isc-bind failed to start"
24 echo "Stopping isc-bind"
31 echo " PID " `cat $pid_file` not found
32 echo " Is the named server running?"
38 echo " $pid_file not found"