MFC: etc/rc.d/ipsec 1.14,1.15

- Use $ipsec_file instead of hardcoded /etc/ipsec.conf.
- Remove stale comment.
This commit is contained in:
pjd 2006-01-31 00:28:01 +00:00
parent febe43b1e7
commit 3c50f6ff81

View File

@ -9,15 +9,13 @@
# BEFORE: DAEMON mountcritremote
# KEYWORD: nojail
# it does not really require beforenetlkm.
. /etc/rc.subr
name="ipsec"
rcvar=`set_rcvar`
start_precmd="ipsec_prestart"
start_cmd="ipsec_start"
stop_precmd="test -f /etc/ipsec.conf"
stop_precmd="test -f $ipsec_file"
stop_cmd="ipsec_stop"
reload_cmd="ipsec_reload"
extra_commands="reload"