- Resolve rc script issues

This commit is contained in:
Ryan Steinmetz 2012-05-17 20:41:44 +00:00
parent 44073f904f
commit 63f97a3e04
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296863

View File

@ -6,7 +6,6 @@
# PROVIDE: dnsflood
# REQUIRE: NETWORKING
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable dnsflood:
#
@ -16,13 +15,13 @@
. /etc/rc.subr
name=dnsflood
rcvar=`set_rcvar`
rcvar=dnsflood_enable
load_rc_config $name
command=%%PREFIX%%/sbin/dns_flood_detector
command_args="-d"
# set defaults
dnsflood_enable=${dnsflood_enable:-"NO"}
load_rc_config $name
run_rc_command "$1"