Browse Source

Add sasyncd to rc / rc.conf.

ok deraadt@ cloder@
OPENBSD_4_0
mcbride 18 years ago
parent
commit
7da8bee8e8
2 changed files with 9 additions and 2 deletions
  1. +7
    -1
      src/etc/rc
  2. +2
    -1
      src/etc/rc.conf

+ 7
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.286 2006/06/02 19:59:35 mcbride Exp $
# $OpenBSD: rc,v 1.287 2006/06/02 21:32:50 mcbride Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -323,6 +323,12 @@ if [ X"${named_flags}" != X"NO" ]; then
echo 'starting named'; named $named_flags
fi
# $sasyncd_flags is imported from /etc/rc.conf;
# If $sasyncd_flags == NO, sasyncd isn't run.
if [ X"${sasyncd_flags}" != X"NO" ]; then
echo 'starting sasyncd'; sasyncd ${sasyncd_flags}
fi
# $isakmpd_flags is imported from /etc/rc.conf;
# If $isakmpd_flags == NO, isakmpd isn't run.
if [ X"${isakmpd_flags}" != X"NO" ]; then


+ 2
- 1
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.115 2006/06/01 21:37:43 norby Exp $
# $OpenBSD: rc.conf,v 1.116 2006/06/02 21:32:50 mcbride Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q"
@ -18,6 +18,7 @@ rdate_flags=NO # for normal use: [RFC868-host] or [-n RFC2030-host]
timed_flags=NO # for normal use: ""
ntpd_flags=NO # for normal use: ""
isakmpd_flags=NO # for normal use: ""
sasyncd_flags=NO # for normal use: ""
mopd_flags=NO # for normal use: "-a"
apmd_flags=NO # for normal use: ""
acpid_flags=NO # for normal use: ""


Loading…
Cancel
Save