From d10a9ab09b1ffbb3709b46a65aaea6262dbcd8b6 Mon Sep 17 00:00:00 2001 From: cjs Date: Tue, 5 Aug 1997 03:32:51 +0000 Subject: [PATCH] Move ntpdate before `starting network daemons' to get cleaner output during boot. Besides, it's not a daemon anyway. --- etc/rc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/etc/rc b/etc/rc index bb4da432947d..525dbf120691 100644 --- a/etc/rc +++ b/etc/rc @@ -1,4 +1,4 @@ -# $NetBSD: rc,v 1.86 1997/08/03 22:24:20 perry Exp $ +# $NetBSD: rc,v 1.87 1997/08/05 03:32:51 cjs Exp $ # originally from: @(#)rc 8.2 (Berkeley) 3/17/94 # System startup script run by init on autoboot @@ -316,6 +316,17 @@ fi echo -n ' cron'; cron echo '.' +# set time, if requested +if [ "$ntpdate_hosts" != NO ]; then + if [ "$ntpdate_hosts" = DEFAULT ]; then + ntpdate_hosts=`awk '/^server/ {print $2}'