We stopped reloading rc.conf for each script a long time ago. Things

shouldn't depend on that any more.

PR:		conf/48332
Approved by:	markm (mentor)(implicit)
This commit is contained in:
mtm 2003-02-16 20:46:08 +00:00
parent 17f2bf0857
commit e9bf8c85cf

View File

@ -15,8 +15,6 @@
name="ipsec"
rcvar=`set_rcvar`
# This will be overiden from rc.conf on FreeBSD.
ipsec_file="/etc/ipsec.conf"
start_precmd="ipsec_prestart"
start_cmd="ipsec_start"
stop_precmd="test -f /etc/ipsec.conf"
@ -27,9 +25,11 @@ extra_commands="reload"
case ${OSTYPE} in
FreeBSD)
ipsec_program="/usr/sbin/setkey"
# ipsec_file is set by rc.conf
;;
NetBSD)
ipsec_program="/sbin/setkey"
ipsec_file="/etc/ipsec.conf"
;;
esac