summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1998-05-05 21:14:27 +0000
committerandreas <andreas@FreeBSD.org>1998-05-05 21:14:27 +0000
commitb01afb1a08a0246d1f7c3586774b43274bbedcce (patch)
tree84c220d59f3aba122a4b2e5985c81bd2707e55e7 /etc
parentd0c92c2cc82ed6eab8c4a9c4902f050dfb81ad67 (diff)
downloadFreeBSD-src-b01afb1a08a0246d1f7c3586774b43274bbedcce.zip
FreeBSD-src-b01afb1a08a0246d1f7c3586774b43274bbedcce.tar.gz
Add variables for the ntpdate and xntpd program, you might want
to run the binaries from the new ntp v4 port.
Diffstat (limited to 'etc')
-rw-r--r--etc/network.subr6
-rw-r--r--etc/rc.conf4
-rw-r--r--etc/rc.d/netoptions6
-rw-r--r--etc/rc.d/network16
-rw-r--r--etc/rc.d/network26
-rw-r--r--etc/rc.d/network36
-rw-r--r--etc/rc.d/routing6
-rw-r--r--etc/rc.network6
8 files changed, 24 insertions, 22 deletions
diff --git a/etc/network.subr b/etc/network.subr
index 9e0211f0..214efd2 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.22 1998/04/18 10:27:06 brian Exp $
+# $Id: rc.network,v 1.23 1998/04/26 06:32:13 phk Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -160,11 +160,11 @@ network_pass2() {
fi
if [ "X${ntpdate_enable}" = X"YES" ]; then
- echo -n ' ntpdate'; ntpdate ${ntpdate_flags} >/dev/null 2>&1
+ echo -n ' ntpdate'; ${ntpdate_prog} ${ntpdate_flags} >/dev/null 2>&1
fi
if [ "X${xntpd_enable}" = X"YES" ]; then
- echo -n ' xntpd'; xntpd ${xntpd_flags}
+ echo -n ' xntpd'; ${xntpd_prog} ${xntpd_flags}
fi
if [ "X${timed_enable}" = X"YES" ]; then
diff --git a/etc/rc.conf b/etc/rc.conf
index 82d75a3..c179685 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.47 1998/05/01 13:45:00 peter Exp $
+# $Id: rc.conf,v 1.48 1998/05/04 05:26:46 peter Exp $
##############################################################
### Important initial Boot-time options #####################
@@ -78,8 +78,10 @@ xtend_flags="" # Flags to xtend (if enabled).
timed_enable="NO" # Run the time daemon (or NO).
timed_flags="" # Flags to timed (if enabled).
ntpdate_enable="NO" # Run the ntpdate to sync time (or NO).
+ntpdate_prog="ntpdate" # path to ntpdate, if you want a different one.
ntpdate_flags="" # Flags to ntpdate (if enabled).
xntpd_enable="NO" # Run xntpd Network Time Protocol (or NO).
+xntpd_prog="xntpd" # path to xntpd, if you want a different one.
xntpd_flags="" # Flags to xntpd (if enabled).
tickadj_enable="NO" # Run tickadj (or NO).
tickadj_flags="-Aq" # Flags to tickadj (if enabled).
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions
index 9e0211f0..214efd2 100644
--- a/etc/rc.d/netoptions
+++ b/etc/rc.d/netoptions
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.22 1998/04/18 10:27:06 brian Exp $
+# $Id: rc.network,v 1.23 1998/04/26 06:32:13 phk Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -160,11 +160,11 @@ network_pass2() {
fi
if [ "X${ntpdate_enable}" = X"YES" ]; then
- echo -n ' ntpdate'; ntpdate ${ntpdate_flags} >/dev/null 2>&1
+ echo -n ' ntpdate'; ${ntpdate_prog} ${ntpdate_flags} >/dev/null 2>&1
fi
if [ "X${xntpd_enable}" = X"YES" ]; then
- echo -n ' xntpd'; xntpd ${xntpd_flags}
+ echo -n ' xntpd'; ${xntpd_prog} ${xntpd_flags}
fi
if [ "X${timed_enable}" = X"YES" ]; then
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1
index 9e0211f0..214efd2 100644
--- a/etc/rc.d/network1
+++ b/etc/rc.d/network1
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.22 1998/04/18 10:27:06 brian Exp $
+# $Id: rc.network,v 1.23 1998/04/26 06:32:13 phk Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -160,11 +160,11 @@ network_pass2() {
fi
if [ "X${ntpdate_enable}" = X"YES" ]; then
- echo -n ' ntpdate'; ntpdate ${ntpdate_flags} >/dev/null 2>&1
+ echo -n ' ntpdate'; ${ntpdate_prog} ${ntpdate_flags} >/dev/null 2>&1
fi
if [ "X${xntpd_enable}" = X"YES" ]; then
- echo -n ' xntpd'; xntpd ${xntpd_flags}
+ echo -n ' xntpd'; ${xntpd_prog} ${xntpd_flags}
fi
if [ "X${timed_enable}" = X"YES" ]; then
diff --git a/etc/rc.d/network2 b/etc/rc.d/network2
index 9e0211f0..214efd2 100644
--- a/etc/rc.d/network2
+++ b/etc/rc.d/network2
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.22 1998/04/18 10:27:06 brian Exp $
+# $Id: rc.network,v 1.23 1998/04/26 06:32:13 phk Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -160,11 +160,11 @@ network_pass2() {
fi
if [ "X${ntpdate_enable}" = X"YES" ]; then
- echo -n ' ntpdate'; ntpdate ${ntpdate_flags} >/dev/null 2>&1
+ echo -n ' ntpdate'; ${ntpdate_prog} ${ntpdate_flags} >/dev/null 2>&1
fi
if [ "X${xntpd_enable}" = X"YES" ]; then
- echo -n ' xntpd'; xntpd ${xntpd_flags}
+ echo -n ' xntpd'; ${xntpd_prog} ${xntpd_flags}
fi
if [ "X${timed_enable}" = X"YES" ]; then
diff --git a/etc/rc.d/network3 b/etc/rc.d/network3
index 9e0211f0..214efd2 100644
--- a/etc/rc.d/network3
+++ b/etc/rc.d/network3
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.22 1998/04/18 10:27:06 brian Exp $
+# $Id: rc.network,v 1.23 1998/04/26 06:32:13 phk Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -160,11 +160,11 @@ network_pass2() {
fi
if [ "X${ntpdate_enable}" = X"YES" ]; then
- echo -n ' ntpdate'; ntpdate ${ntpdate_flags} >/dev/null 2>&1
+ echo -n ' ntpdate'; ${ntpdate_prog} ${ntpdate_flags} >/dev/null 2>&1
fi
if [ "X${xntpd_enable}" = X"YES" ]; then
- echo -n ' xntpd'; xntpd ${xntpd_flags}
+ echo -n ' xntpd'; ${xntpd_prog} ${xntpd_flags}
fi
if [ "X${timed_enable}" = X"YES" ]; then
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index 9e0211f0..214efd2 100644
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.22 1998/04/18 10:27:06 brian Exp $
+# $Id: rc.network,v 1.23 1998/04/26 06:32:13 phk Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -160,11 +160,11 @@ network_pass2() {
fi
if [ "X${ntpdate_enable}" = X"YES" ]; then
- echo -n ' ntpdate'; ntpdate ${ntpdate_flags} >/dev/null 2>&1
+ echo -n ' ntpdate'; ${ntpdate_prog} ${ntpdate_flags} >/dev/null 2>&1
fi
if [ "X${xntpd_enable}" = X"YES" ]; then
- echo -n ' xntpd'; xntpd ${xntpd_flags}
+ echo -n ' xntpd'; ${xntpd_prog} ${xntpd_flags}
fi
if [ "X${timed_enable}" = X"YES" ]; then
diff --git a/etc/rc.network b/etc/rc.network
index 9e0211f0..214efd2 100644
--- a/etc/rc.network
+++ b/etc/rc.network
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.22 1998/04/18 10:27:06 brian Exp $
+# $Id: rc.network,v 1.23 1998/04/26 06:32:13 phk Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -160,11 +160,11 @@ network_pass2() {
fi
if [ "X${ntpdate_enable}" = X"YES" ]; then
- echo -n ' ntpdate'; ntpdate ${ntpdate_flags} >/dev/null 2>&1
+ echo -n ' ntpdate'; ${ntpdate_prog} ${ntpdate_flags} >/dev/null 2>&1
fi
if [ "X${xntpd_enable}" = X"YES" ]; then
- echo -n ' xntpd'; xntpd ${xntpd_flags}
+ echo -n ' xntpd'; ${xntpd_prog} ${xntpd_flags}
fi
if [ "X${timed_enable}" = X"YES" ]; then
OpenPOWER on IntegriCloud