diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-12-21 03:33:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-12-21 03:33:44 +0000 |
commit | 1807333983dd16512206d31fa67fd1924f36e56a (patch) | |
tree | 6631b65e3e3542cd77287a3850f215bbaee4f761 /etc/rc | |
parent | 98d0edea3add1f9541f4522c0908af2bbb7fab0f (diff) |
isakmpd startup stuff
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.93 1998/11/11 09:22:49 downsj Exp $ +# $OpenBSD: rc,v 1.94 1998/12/21 03:33:43 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -143,6 +143,13 @@ if [ "X${photurisd_flags}" != X"NO" -a -e /etc/photuris/photuris.conf ]; then echo 'starting photurisd'; photurisd ${photurisd_flags} fi +# $isakmpd_flags is imported from /etc/rc.conf; +# If $isakmpd_flags == NO or /etc/isakmpd.conf doesn't exist, then +# isakmpd isn't run. +if [ "X${isakmpd_flags}" != X"NO" -a -e /etc/isakmpd.conf ]; then + echo 'starting isakmpd'; isakmpd ${isakmpd_flags} +fi + echo -n 'starting rpc daemons:' # $portmap is imported from /etc/rc.conf; |