@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.289 2006/08/29 17:26:55 henning Exp $
# $OpenBSD: rc,v 1.290 2006/09/01 01:18:02 mpf Exp $
# System startup script run by init on autoboot
# System startup script run by init on autoboot
# or after single-user.
# or after single-user.
@ -321,14 +321,17 @@ if [ X"${named_flags}" != X"NO" ]; then
echo 'starting named'; named $named_flags
echo 'starting named'; named $named_flags
fi
fi
if [ X"${sasyncd_flags}" != X"NO" ]; then
echo 'starting sasyncd'; sasyncd ${sasyncd_flags}
fi
if [ X"${isakmpd_flags}" != X"NO" ]; then
if [ X"${isakmpd_flags}" != X"NO" ]; then
if [ X"${sasyncd_flags}" != X"NO" ]; then
isakmpd_flags="-S ${isakmpd_flags}"
fi
echo 'starting isakmpd'; isakmpd ${isakmpd_flags}
echo 'starting isakmpd'; isakmpd ${isakmpd_flags}
fi
fi
if [ X"${sasyncd_flags}" != X"NO" ]; then
echo 'starting sasyncd'; sasyncd ${sasyncd_flags}
fi
if [ X"${ipsec}" != X"NO" ]; then
if [ X"${ipsec}" != X"NO" ]; then
if [ -f ${ipsec_rules} ]; then
if [ -f ${ipsec_rules} ]; then
ipsecctl -f ${ipsec_rules}
ipsecctl -f ${ipsec_rules}