aboutsummaryrefslogtreecommitdiff
path: root/init.d.misc/named.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-11 12:18:05 +0000
committerRoy Marples <roy@marples.name>2008-01-11 12:18:05 +0000
commit6b41b6500842b2b6bd7f78b4f2ccda579ee1a108 (patch)
treea57599974eb573de7b12ec118e1c658a527ad3ec /init.d.misc/named.in
parent3bf49a9bd19d5bbcf6976dd42b4f87f1b173e287 (diff)
Remove vim settings.
Diffstat (limited to 'init.d.misc/named.in')
-rw-r--r--init.d.misc/named.in14
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 :