From a61a96252ede23f6cca52afb95d18e1ff8e86d3d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 12 Jan 2003 22:20:12 +0000 Subject: added more comments for end users to read --- net-misc/ntp/files/ntpd.confd | 7 ++++++- net-misc/ntp/files/ntpd.rc | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'net-misc/ntp') 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" } -- cgit v1.2.3-65-gdbad