Browse Source

ntpd -s by default is just a pause if there is no net

OPENBSD_3_8
deraadt 19 years ago
parent
commit
370b0c30d3
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/etc/rc

+ 2
- 3
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.269 2005/06/14 22:49:06 dhartmei Exp $
# $OpenBSD: rc,v 1.270 2005/06/19 16:55:10 deraadt 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.
@ -396,8 +396,7 @@ if [ X"${timed_flags}" != X"NO" ]; then
fi fi
if [ X"${ntpd_flags}" != X"NO" ]; then if [ X"${ntpd_flags}" != X"NO" ]; then
# since this is system startup, use -s
echo -n ' ntpd'; ntpd -s $ntpd_flags
echo -n ' ntpd'; ntpd $ntpd_flags
fi fi
echo '.' echo '.'


Loading…
Cancel
Save