diff options
author | keramida <keramida@FreeBSD.org> | 2009-01-27 20:13:24 +0000 |
---|---|---|
committer | keramida <keramida@FreeBSD.org> | 2009-01-27 20:13:24 +0000 |
commit | ed75d66370286ae74d1656558e6549209acc6fe5 (patch) | |
tree | e835504d49dca7f6b8c6b8684d119a85a1b687e8 /etc/rc.d/ntpd | |
parent | 1390224b8b49d352c41b4718b41ab0d285cf7404 (diff) | |
download | FreeBSD-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/rc.d/ntpd')
-rwxr-xr-x | etc/rc.d/ntpd | 2 |
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 |