pkgsrc/net/bind9-current/files/named.sh
itojun 47fc4ed1d6 update to 9.2.0s20010119. remove IGNORE.
694.   [bug]           $GENERATE did not produce the last entry.
                        [RT #682, #683]

 693.   [bug]           An empty lwres statement in named.conf caused
                        the server to crash while loading.

 692.   [bug]           Deal with systems that have getaddrinfo() but not
                        gai_strerror(). [RT #679]

 691.   [bug]           Configuring per-view forwarders caused an assertion
                        failure. [RT #675]

 690.   [func]          $GENERATE now supports DNAME. [RT #654]

 689.   [doc]           man pages are now installed. [RT #210]

 688.   [func]          "make tags" now works on systems with the
                        "Exuberant Ctags" etags.
2001-02-04 10:39:11 +00:00

28 lines
469 B
Bash

#!/bin/sh
# PROVIDE: named
# REQUIRE: SERVERS
. /etc/rc.subr
name="named"
rcvar=${name}9
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
extra_commands="reload"
load_rc_config ${name}9 # check /etc/rc.conf.d/named9
named_precmd()
{
# Die if $named is also set (i.e. the system's named is not disabled
if checkyesno named ; then
warn \
"disable 'named' when setting 'named9'!"
return 1
fi
}
start_precmd="named_precmd"
run_rc_command "$1"