summaryrefslogtreecommitdiff
path: root/net/bind9/files/lwresd.sh
blob: 51369b6f693dcca450977ec5dce0e5951c986edd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# $NetBSD: lwresd.sh,v 1.2 2002/09/23 14:40:51 grant Exp $
#
# PROVIDE: lwresd
# REQUIRE: SERVERS

. /etc/rc.subr

name="lwresd"
rcvar=${name}
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"

extra_commands="reload"

load_rc_config ${name}		# check /etc/rc.conf.d/named9
run_rc_command "$1"