summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-01-12 22:20:12 +0000
committerMike Frysinger <vapier@gentoo.org>2003-01-12 22:20:12 +0000
commita61a96252ede23f6cca52afb95d18e1ff8e86d3d (patch)
tree5577b7427a7747b10bc6d4b32bca5a866a686036 /net-misc/ntp
parentupdated ChangLog (diff)
downloadgentoo-2-a61a96252ede23f6cca52afb95d18e1ff8e86d3d.tar.gz
gentoo-2-a61a96252ede23f6cca52afb95d18e1ff8e86d3d.tar.bz2
gentoo-2-a61a96252ede23f6cca52afb95d18e1ff8e86d3d.zip
added more comments for end users to read
Diffstat (limited to 'net-misc/ntp')
-rw-r--r--net-misc/ntp/files/ntpd.confd7
-rw-r--r--net-misc/ntp/files/ntpd.rc4
2 files changed, 8 insertions, 3 deletions
diff --git a/net-misc/ntp/files/ntpd.confd b/net-misc/ntp/files/ntpd.confd
index 24e5934cce26..0e4eb77bbf67 100644
--- a/net-misc/ntp/files/ntpd.confd
+++ b/net-misc/ntp/files/ntpd.confd
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.confd,v 1.9 2003/01/12 22:06:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.confd,v 1.10 2003/01/12 22:20:12 vapier Exp $
# NOTES:
# - NTPDATE variables below are used if you wish to set your
@@ -34,3 +34,8 @@ NTPDATE_WARN="y"
# and
# * http://www.eecis.udel.edu/~mills/ntp/clock2.html
##
+
+# Options to pass to the ntpd process that will *always* be run
+# Most people should not uncomment this line ...
+# however, if you know what you're doing, feel free to tweak
+#NTPD_OPTS=""
diff --git a/net-misc/ntp/files/ntpd.rc b/net-misc/ntp/files/ntpd.rc
index d1881cb261c4..d7ad1f192cde 100644
--- a/net-misc/ntp/files/ntpd.rc
+++ b/net-misc/ntp/files/ntpd.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.rc,v 1.10 2003/01/09 12:33:57 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.rc,v 1.11 2003/01/12 22:20:12 vapier Exp $
depend() {
need net
@@ -30,7 +30,7 @@ start() {
ebegin "Starting ntpd"
start-stop-daemon --start --quiet --pidfile /var/run/ntpd.pid \
- --startas /usr/bin/ntpd -- -p /var/run/ntpd.pid
+ --startas /usr/bin/ntpd -- -p /var/run/ntpd.pid ${NTPD_OPTS}
eend $? "Failed to start ntpd"
}