aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnsmasq/files
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-07-16 09:23:02 +0800
committerleeym <leeym@FreeBSD.org>2005-07-16 09:23:02 +0800
commitccaaf22f13d72cd29bf2699b07010a1a42a29bfb (patch)
tree3c847c3ecdfadab518caa70bf22499d40e56142e /dns/dnsmasq/files
parent88d96fa84418a6187f822c24c8d0804632273830 (diff)
downloadfreebsd-ports-gnome-ccaaf22f13d72cd29bf2699b07010a1a42a29bfb.tar.gz
freebsd-ports-gnome-ccaaf22f13d72cd29bf2699b07010a1a42a29bfb.tar.zst
freebsd-ports-gnome-ccaaf22f13d72cd29bf2699b07010a1a42a29bfb.zip
- utilize USE_RCORDER / USE_RC_SUBR to solve this problem when OSVERSION > 500037
PR: 80054 Patched by: leeym Submitted by: Thomas Schweikle <tps@vr-web.de> Approved by: maintainer timeout
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"