summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2004-08-21 08:17:29 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2004-08-21 08:17:29 +0000
commit354457094f059defbc87048f854bec76e2fa9314 (patch)
tree8ba983dab91891598295905acc064577d6f5270d
parent32776c80bfcf5594d8672cd5bae0ec216147f63c (diff)
no need anymore to require isamkpd.policy for isakmpd startup
ok ho@ henning@
-rw-r--r--etc/rc7
1 files changed, 3 insertions, 4 deletions
diff --git a/etc/rc b/etc/rc
index 3c5dae52c45..0f36e9d653b 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.250 2004/08/07 00:50:25 deraadt Exp $
+# $OpenBSD: rc,v 1.251 2004/08/21 08:17:28 hshoexer Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -238,9 +238,8 @@ if [ "X${named_flags}" != X"NO" ]; then
fi
# $isakmpd_flags is imported from /etc/rc.conf;
-# If $isakmpd_flags == NO or /etc/isakmpd/isakmpd.policy doesn't exist, then
-# isakmpd isn't run.
-if [ "X${isakmpd_flags}" != X"NO" -a -e /etc/isakmpd/isakmpd.policy ]; then
+# If $isakmpd_flags == NO, isakmpd isn't run.
+if [ "X${isakmpd_flags}" != X"NO" ]; then
echo 'starting isakmpd'; isakmpd ${isakmpd_flags}
fi