diff options
author | mtm <mtm@FreeBSD.org> | 2003-02-16 20:46:08 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-02-16 20:46:08 +0000 |
commit | ca2c24db407f8b3d80b54c4474fea0edb6cadcd6 (patch) | |
tree | 08764869de66e5862eb2421490345de28da51dd8 /etc | |
parent | 523e67fb9eb4dba7699f4cf661ffc43ea5e63a77 (diff) | |
download | FreeBSD-src-ca2c24db407f8b3d80b54c4474fea0edb6cadcd6.zip FreeBSD-src-ca2c24db407f8b3d80b54c4474fea0edb6cadcd6.tar.gz |
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)
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/ipsec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/ipsec b/etc/rc.d/ipsec index 08f6c50..1ffed7f 100755 --- a/etc/rc.d/ipsec +++ b/etc/rc.d/ipsec @@ -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 |