summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/ipsec
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-01-24 15:11:11 +0000
committerpjd <pjd@FreeBSD.org>2006-01-24 15:11:11 +0000
commit633461c588d71b98135e049a23fcfefb03a9c26c (patch)
tree71a83d84c17b33b7e4df1da43246f0fb48e2c728 /etc/rc.d/ipsec
parente7a139cf88cc0cf1281a76fad701a7db4e79fd63 (diff)
downloadFreeBSD-src-633461c588d71b98135e049a23fcfefb03a9c26c.zip
FreeBSD-src-633461c588d71b98135e049a23fcfefb03a9c26c.tar.gz
Use $ipsec_file instead of hardcoded /etc/ipsec.conf.
This change should be made in rev1.2. MFC after: 1 week
Diffstat (limited to 'etc/rc.d/ipsec')
-rwxr-xr-xetc/rc.d/ipsec2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/ipsec b/etc/rc.d/ipsec
index 6744b98..993d262 100755
--- a/etc/rc.d/ipsec
+++ b/etc/rc.d/ipsec
@@ -17,7 +17,7 @@ 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"
OpenPOWER on IntegriCloud