Browse Source

earlier start of keymanagement

OPENBSD_2_2
provos 27 years ago
parent
commit
3691dea5a4
2 changed files with 10 additions and 10 deletions
  1. +2
    -2
      src/etc/netstart
  2. +8
    -8
      src/etc/rc

+ 2
- 2
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: netstart,v 1.22 1997/07/24 22:11:59 deraadt Exp $
# $OpenBSD: netstart,v 1.23 1997/07/25 00:06:03 provos Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags # set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=-q routed_flags=-q
@ -11,7 +11,7 @@ rbootd_flags=NO # for 'normal' use: rbootd_flags=""
sendmail_flags=NO # for 'normal' use: sendmail_flags="-bd -q30m" sendmail_flags=NO # for 'normal' use: sendmail_flags="-bd -q30m"
named_flags=NO # for 'normal' use: named_flags="" named_flags=NO # for 'normal' use: named_flags=""
timed_flags=NO # for 'normal' use: timed_flags="" timed_flags=NO # for 'normal' use: timed_flags=""
photurisd_flags="-f" # for 'normal' use: photurisd_flags="-f"
photurisd_flags="" # for 'normal' use: photurisd_flags=""
# set the following to "YES" to turn them on # set the following to "YES" to turn them on
rwhod=NO rwhod=NO


+ 8
- 8
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.39 1997/07/22 17:11:56 kstailey Exp $
# $OpenBSD: rc,v 1.40 1997/07/25 00:06:02 provos 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.
@ -100,6 +100,13 @@ if [ X"${rfc1323}" = X"NO" ]; then
echo 'disabling rfc1323'; sysctl -w net.inet.tcp.rfc1323=0 echo 'disabling rfc1323'; sysctl -w net.inet.tcp.rfc1323=0
fi fi
# $photurisd_flags is imported from /etc/netstart;
# If $photurisd_flags == NO or /etc/photuris/ doesn't exist, then
# photurisd isn't run.
if [ "X${photurisd_flags}" != X"NO" -a -d /etc/photuris ]; then
echo 'starting photurisd'; photurisd ${photurisd_flags}
fi
# clean up left-over files # clean up left-over files
rm -f /etc/nologin rm -f /etc/nologin
rm -f /var/spool/lock/LCK.* rm -f /var/spool/lock/LCK.*
@ -312,13 +319,6 @@ if [ "X${rbootd_flags}" != X"NO" -a -r /etc/rbootd.conf ]; then
echo -n ' rbootd'; rbootd ${rbootd_flags} echo -n ' rbootd'; rbootd ${rbootd_flags}
fi fi
# $photurisd_flags is imported from /etc/netstart;
# If $photurisd_flags == NO or /etc/photuris/ doesn't exist, then
# photurisd isn't run.
if [ "X${photurisd_flags}" != X"NO" -a -d /etc/photuris ]; then
echo -n ' photurisd'; photurisd ${photurisd_flags}
fi
if [ -x /usr/sbin/screenblank ]; then if [ -x /usr/sbin/screenblank ]; then
echo -n ' screenblank'; /usr/sbin/screenblank echo -n ' screenblank'; /usr/sbin/screenblank
fi fi


Loading…
Cancel
Save