Browse Source

record ntpd pid on startup

OPENBSD_2_7
mickey 25 years ago
parent
commit
e81b06f631
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc.securelevel

+ 2
- 2
src/etc/rc.securelevel View File

@ -1,4 +1,4 @@
# $OpenBSD: rc.securelevel,v 1.11 1998/09/21 09:34:47 deraadt Exp $
# $OpenBSD: rc.securelevel,v 1.12 2000/03/29 17:34:56 mickey Exp $
# #
# site-specific startup actions, daemons, and other things which # site-specific startup actions, daemons, and other things which
# can be done BEFORE your system goes into securemode. For actions # can be done BEFORE your system goes into securemode. For actions
@ -20,7 +20,7 @@ echo -n 'starting pre-securelevel daemons:'
if [ X"${ntpd}" == X"YES" -a -x /usr/local/sbin/ntpd \ if [ X"${ntpd}" == X"YES" -a -x /usr/local/sbin/ntpd \
-a -e /etc/ntp.conf ]; then -a -e /etc/ntp.conf ]; then
/usr/local/sbin/tickadj -Aq /usr/local/sbin/tickadj -Aq
echo -n ' ntpd'; /usr/local/sbin/ntpd
echo -n ' ntpd'; /usr/local/sbin/ntpd -p /var/run/ntpd.pid
fi fi
echo '.' echo '.'

Loading…
Cancel
Save