From owner-freebsd-hackers Fri May 2 14:02:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA22973 for hackers-outgoing; Fri, 2 May 1997 14:02:09 -0700 (PDT) Received: from helbig.informatik.ba-stuttgart.de (helbig.informatik.ba-stuttgart.de [141.31.166.22]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA22962; Fri, 2 May 1997 14:02:04 -0700 (PDT) Received: (from helbig@localhost) by helbig.informatik.ba-stuttgart.de (8.8.5/8.8.5) id XAA00219; Fri, 2 May 1997 23:01:59 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199705022101.XAA00219@helbig.informatik.ba-stuttgart.de> Subject: rc.conf and tickadj To: jkh@FreeBSD.org Date: Fri, 2 May 1997 23:01:59 +0200 (MET DST) Cc: hackers@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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 ----