diff options
Diffstat (limited to 'init.d.misc/named.in')
-rw-r--r-- | init.d.misc/named.in | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/init.d.misc/named.in b/init.d.misc/named.in index d92af43e..b8d82750 100644 --- a/init.d.misc/named.in +++ b/init.d.misc/named.in @@ -11,13 +11,15 @@ extra_started_commands="reload" namedb=/etc/namedb named_uid=${named_uid:-bind} -depend() { +depend() +{ provide dns need localmount after bootmisc } -start_pre() { +start_pre() +{ if [ -n "${named_chroot}" ]; then # Create (or update) the chroot directory structure if [ -r /etc/mtree/BIND.chroot.dist ]; then @@ -84,14 +86,14 @@ start_pre() { fi } -reload() { +reload() +{ rndc reload } -stop_post() { +stop_post() +{ if [ -n "${named_chroot}" -a -c "${named_chroot}"/dev/null ]; then umount "${named_chroot}"/dev 2>/dev/null || true fi } - -# vim: set ts=4 : |