Browse Source

isakmpd can work without an isakmpd.conf, but not without an

isakmpd.policy -- change startup conditions accordingly.
OPENBSD_3_0
angelos 23 years ago
parent
commit
7b5a94cdc8
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/etc/rc

+ 3
- 3
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.184 2001/09/21 05:51:13 deraadt Exp $
# $OpenBSD: rc,v 1.185 2001/10/09 18:44:17 angelos Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -221,9 +221,9 @@ if [ "X${photurisd_flags}" != X"NO" -a -e /etc/photuris/photuris.conf ]; then
fi
# $isakmpd_flags is imported from /etc/rc.conf;
# If $isakmpd_flags == NO or /etc/isakmpd/isakmpd.conf doesn't exist, then
# 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.conf ]; then
if [ "X${isakmpd_flags}" != X"NO" -a -e /etc/isakmpd/isakmpd.policy ]; then
echo 'starting isakmpd'; isakmpd ${isakmpd_flags}
fi


Loading…
Cancel
Save