From 8aeb1f4eccfd8568499e5e8f273d80e20568efeb Mon Sep 17 00:00:00 2001 From: des Date: Thu, 8 Oct 1998 18:47:30 +0000 Subject: [PATCH] Remove all references to tickadj(8) from rc, rc.conf and rc.conf.5. Disable building tickadj(8) by removing util from SUBDIR in the xntpd Makefile. Note that the sources are still there and tickadj can still be built and installed by doing: # cd /usr/src/usr.sbin/xntpd/util # make all install There are enough references to tickadj in e.g. the xntpd documentation (not to mention the sysctl variables it uses etc.) that I don't feel up to implementing the final solution right now. Kinda-approved-by: phk --- etc/rc | 8 ++------ etc/rc.conf | 4 +--- share/man/man5/rc.conf.5 | 16 +--------------- usr.sbin/xntpd/Makefile | 4 ++-- 4 files changed, 6 insertions(+), 26 deletions(-) diff --git a/etc/rc b/etc/rc index 656b0fd41ccb..9e69aa8dbfc7 100644 --- a/etc/rc +++ b/etc/rc @@ -1,5 +1,5 @@ -#!/bin/sh -# $Id: rc,v 1.157 1998/09/16 22:42:56 brian Exp $ +'#!/bin/sh +# $Id: rc,v 1.158 1998/09/30 14:44:57 cracauer Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -191,10 +191,6 @@ if [ "X${syslogd_enable}" = X"YES" ]; then rm -f /var/run/log echo -n ' syslogd'; syslogd ${syslogd_flags} fi - -if [ "X${tickadj_enable}" = X"YES" ]; then - echo -n ' tickadj'; tickadj ${tickadj_flags--Aq} -fi echo '.' # enable dumpdev so that savecore can see it diff --git a/etc/rc.conf b/etc/rc.conf index 7404d92387f5..e3050654beda 100644 --- a/etc/rc.conf +++ b/etc/rc.conf @@ -6,7 +6,7 @@ # # All arguments must be in double or single quotes. # -# $Id: rc.conf,v 1.59 1998/09/23 04:42:02 jkh Exp $ +# $Id: rc.conf,v 1.60 1998/10/06 19:24:14 phk Exp $ ############################################################## ### Important initial Boot-time options ##################### @@ -83,8 +83,6 @@ ntpdate_flags="" # Flags to ntpdate (if enabled). xntpd_enable="NO" # Run xntpd Network Time Protocol (or NO). xntpd_program="xntpd" # path to xntpd, if you want a different one. xntpd_flags="-p /var/run/xntpd.pid" # 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: ### nis_client_enable="NO" # We're an NIS client (or NO). diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index b41b0880b7cd..6ea12b962835 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: rc.conf.5,v 1.22 1998/07/08 23:31:28 nectar Exp $ +.\" $Id: rc.conf.5,v 1.23 1998/10/06 19:24:26 phk Exp $ .\" .Dd April 26, 1997 .Dt RC.CONF 5 @@ -407,20 +407,6 @@ is set to these are the flags to pass to the .Xr xntpd 8 daemon. -.It Ar tickadj_enable -(bool) If set to -.Ar YES -then run the -.Xr tickadj 8 -command at system boot time. -.It Ar tickadj_flags -(str) If -.Ar tickadj_enable -is set to -.Ar YES , -these are the flags to pass to the -.Xr tickadj 8 -command. .It Ar nis_client_enable (bool) If set to .Ar YES diff --git a/usr.sbin/xntpd/Makefile b/usr.sbin/xntpd/Makefile index 8f71fa95406b..409f99cb98ac 100644 --- a/usr.sbin/xntpd/Makefile +++ b/usr.sbin/xntpd/Makefile @@ -1,7 +1,7 @@ # # Makefile for xntpd. -# $Id$ +# $Id: Makefile,v 1.6 1997/02/22 16:14:13 peter Exp $ # -SUBDIR= lib parse xntpd xntpdc ntpq ntpdate ntptrace authstuff util +SUBDIR= lib parse xntpd xntpdc ntpq ntpdate ntptrace authstuff .include