aboutsummaryrefslogtreecommitdiff
path: root/dns/dnsmasq/files
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-07-16 01:23:02 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-07-16 01:23:02 +0000
commit751004fcf2073c9701f87ce3bb5dfbd5d07f4a6d (patch)
treecb72ab959cc1bc1f902b5beea10f56027559797d /dns/dnsmasq/files
parent1120a18a32d1a8c68c4bff223dd5de3a06b19884 (diff)
Notes
Diffstat (limited to 'dns/dnsmasq/files')
-rw-r--r--dns/dnsmasq/files/dnsmasq.sh.in (renamed from dns/dnsmasq/files/dnsmasq.sh)10
1 files changed, 4 insertions, 6 deletions
diff --git a/dns/dnsmasq/files/dnsmasq.sh b/dns/dnsmasq/files/dnsmasq.sh.in
index c723b1ec3361..2f661e4a132c 100644
--- a/dns/dnsmasq/files/dnsmasq.sh
+++ b/dns/dnsmasq/files/dnsmasq.sh.in
@@ -1,9 +1,9 @@
#! /bin/sh
#
-#
-# PROVIDE: dnsmasq
-# REQUIRE: DAEMON NETWORKING SERVERS
-# KEYWORD: FreeBSD
+# PROVIDE: named dnsmasq
+# REQUIRE: SERVERS cleanvar
+# BEFORE: DAEMON
+# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable dnsmasq:
#
@@ -13,7 +13,6 @@
# override these variables in /etc/rc.conf
dnsmasq_enable=NO
-
. %%RC_SUBR%%
name=dnsmasq
@@ -22,7 +21,6 @@ rcvar=$(set_rcvar)
command=%%PREFIX%%/sbin/${name}
pidfile=/var/run/${name}.pid
required_files=${dnsmasq_conf}
-#start_precmd=${name}_precmd
load_rc_config ${name}
run_rc_command "$1"