summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2009-01-27 20:13:24 +0000
committerkeramida <keramida@FreeBSD.org>2009-01-27 20:13:24 +0000
commited75d66370286ae74d1656558e6549209acc6fe5 (patch)
treee835504d49dca7f6b8c6b8684d119a85a1b687e8 /etc
parent1390224b8b49d352c41b4718b41ab0d285cf7404 (diff)
downloadFreeBSD-src-ed75d66370286ae74d1656558e6549209acc6fe5.zip
FreeBSD-src-ed75d66370286ae74d1656558e6549209acc6fe5.tar.gz
When synchronizing the clock at system startup time, use both
the -g and -q options. They do a slightly different thing and both are necessary when the time difference is large. Noticed by: danger, in the forums Approved by: roberto MFC after: 1 week
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/ntpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/ntpd b/etc/rc.d/ntpd
index 7a4eef8..3e7a8c0 100755
--- a/etc/rc.d/ntpd
+++ b/etc/rc.d/ntpd
@@ -23,7 +23,7 @@ ntpd_precmd()
rc_flags="-c ${ntpd_config} ${ntpd_flags}"
if checkyesno ntpd_sync_on_start; then
- rc_flags="-g $rc_flags"
+ rc_flags="-q -g $rc_flags"
fi
if [ -z "$ntpd_chrootdir" ]; then
OpenPOWER on IntegriCloud