Permalink
Browse files

Do a force-update of time before starting ntp daemon.

  • Loading branch information...
1 parent 4ac5c72 commit 7288f86d5924fd63f40f4785fe1eacf381cdbebb @joshwilsdon joshwilsdon committed Feb 26, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 ntp/Solaris/ntp
View
@@ -66,6 +66,10 @@ val=`svcprop -c -p config/always_allow_large_step $SMF_FMRI`
if [ "$val" = "true" ] || \
[ ! -f /var/run/ntp.pid ]; then
set -- "$@" -g
+
+ # Large step is ok, so on startup do a full update first
+ # before we actually start.
+ ntpd -gq
fi
# Auth was off by default in xntpd now the default is on. Better have a way

0 comments on commit 7288f86

Please sign in to comment.