Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 1997 23:01:59 +0200 (MET DST)
From:      Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
To:        jkh@FreeBSD.org
Cc:        hackers@FreeBSD.org
Subject:   rc.conf and tickadj
Message-ID:  <199705022101.XAA00219@helbig.informatik.ba-stuttgart.de>

next in thread | raw e-mail | index | archive | help
Hi,

If tickadj is enabled in rc.conf it might be run twice -- in 
rc and in rc.network.
I suggest to
  o delete the call in rc.network
  o let the default be "NO" in rc.conf

A diff follows.
 
Wolfgang

Index: rc.conf
===================================================================
RCS file: /usr/cvsroot/src/etc/rc.conf,v
retrieving revision 1.5
diff -c -r1.5 rc.conf
*** rc.conf	1997/04/28 10:14:45	1.5
--- rc.conf	1997/05/02 20:26:16
***************
*** 59,65 ****
  ntpdate_flags=""		# Flags to ntpdate (if enabled).
  xntpd_enable="NO"		# Run xntpd Network Time Protocol (or NO).
  xntpd_flags=""			# Flags to xntpd (if enabled).
! tickadj_enable="YES"		# If xntp is enabled, also run tickadj.
  tickadj_flags="-Aq"		# Flags to tickadj (if enabled).
  
  # Network Information Services (NIS) options: ###
--- 59,65 ----
  ntpdate_flags=""		# Flags to ntpdate (if enabled).
  xntpd_enable="NO"		# Run xntpd Network Time Protocol (or NO).
  xntpd_flags=""			# Flags to xntpd (if enabled).
! tickadj_enable="NO"		# Run tickadj (or NO).  
  tickadj_flags="-Aq"		# Flags to tickadj (if enabled).
  
  # Network Information Services (NIS) options: ###
Index: rc.network
===================================================================
RCS file: /usr/cvsroot/src/etc/rc.network,v
retrieving revision 1.5
diff -c -r1.5 rc.network
*** rc.network	1997/05/01 20:28:18	1.5
--- rc.network	1997/05/02 20:27:31
***************
*** 109,118 ****
      fi
  
      if [ "X${ntpdate_enable}" = X"YES" -o "X${xntpd_enable}" = X"YES" ]; then
- 	    if [ "X${tickadj_enable}" = X"YES" ]; then
- 		    echo -n ' tickadj';	tickadj ${tickadj_flags--Aq}
- 	    fi
- 
  	    if [ "X${ntpdate_enable}" = X"YES" ]; then
  		    echo -n ' ntpdate';	ntpdate ${ntpdate_flags} >/dev/null 2>&1
  	    fi
--- 109,114 ----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705022101.XAA00219>