Backout change 187782. It inhibits ntpd from starting at all

when ntpd_sync_on_start is set.

Noticed by:	rafan
This commit is contained in:
Giorgos Keramidas 2009-01-29 06:43:29 +00:00
parent 218653a7fc
commit 9bad6e2c6d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187879
2 changed files with 3 additions and 7 deletions

View File

@ -23,7 +23,7 @@ ntpd_precmd()
rc_flags="-c ${ntpd_config} ${ntpd_flags}"
if checkyesno ntpd_sync_on_start; then
rc_flags="-q -g $rc_flags"
rc_flags="-g $rc_flags"
fi
if [ -z "$ntpd_chrootdir" ]; then

View File

@ -2065,16 +2065,12 @@ If set to
.Xr ntpd 8
is run with the
.Fl g
and
.Fl q
flags, which syncs the system's clock on startup.
flag, which syncs the system's clock on startup.
See
.Xr ntpd 8
for more information regarding the
.Fl g
and
.Fl q
options.
option.
This is a preferred alternative to using
.Xr ntpdate 8
or specifying the