Browse Source

eh, actually add the startup code for ntpd

OPENBSD_3_6
henning 20 years ago
parent
commit
33684f5b14
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      src/etc/rc

+ 6
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.248 2004/06/04 04:26:41 grange Exp $
# $OpenBSD: rc,v 1.249 2004/07/06 04:05:27 henning Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -298,7 +298,7 @@ if [ X${amd} = X"YES" -a -e ${amd_master} ]; then
-a ${amd_dir} `cat ${amd_master}` > /var/run/amd.pid )
fi
# run rdate before timed
# run rdate before timed/ntpd
if [ X"${rdate_flags}" != X"NO" ]; then
echo -n ' rdate'; rdate -s ${rdate_flags}
fi
@ -308,6 +308,10 @@ fi
if [ "X${timed_flags}" != X"NO" ]; then
echo -n ' timed'; timed $timed_flags
fi
if [ "X${ntpd_flags}" != X"NO" ]; then
echo -n ' ntpd'; ntpd $ntpd_flags
fi
echo '.'
mount -a -t nfs


Loading…
Cancel
Save