svn commit: r187879 - in head: etc/rc.d share/man/man5

Giorgos Keramidas keramida at FreeBSD.org
Wed Jan 28 22:43:30 PST 2009


Author: keramida (doc committer)
Date: Thu Jan 29 06:43:29 2009
New Revision: 187879
URL: http://svn.freebsd.org/changeset/base/187879

Log:
  Backout change 187782.  It inhibits ntpd from starting at all
  when ntpd_sync_on_start is set.
  
  Noticed by:	rafan

Modified:
  head/etc/rc.d/ntpd
  head/share/man/man5/rc.conf.5

Modified: head/etc/rc.d/ntpd
==============================================================================
--- head/etc/rc.d/ntpd	Thu Jan 29 05:59:42 2009	(r187878)
+++ head/etc/rc.d/ntpd	Thu Jan 29 06:43:29 2009	(r187879)
@@ -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

Modified: head/share/man/man5/rc.conf.5
==============================================================================
--- head/share/man/man5/rc.conf.5	Thu Jan 29 05:59:42 2009	(r187878)
+++ head/share/man/man5/rc.conf.5	Thu Jan 29 06:43:29 2009	(r187879)
@@ -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


More information about the svn-src-head mailing list