From e9bf8c85cfdb759f3781fd6f7bcdd8d4fc5709a3 Mon Sep 17 00:00:00 2001 From: mtm Date: Sun, 16 Feb 2003 20:46:08 +0000 Subject: [PATCH] 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) --- etc/rc.d/ipsec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/ipsec b/etc/rc.d/ipsec index 08f6c5056b86..1ffed7fa4258 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