diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-08-06 07:42:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-08-06 07:42:24 +0000 |
commit | 2dc0c84f833657e5e0cedb6ae1c6549b1f49c74b (patch) | |
tree | c87d9e980188cd6bee2497c3e093d9543247d6ad /net-misc/ntp/files/ntpd.rc | |
parent | minor permissions bug fix and move to stable (diff) | |
download | historical-2dc0c84f833657e5e0cedb6ae1c6549b1f49c74b.tar.gz historical-2dc0c84f833657e5e0cedb6ae1c6549b1f49c74b.tar.bz2 historical-2dc0c84f833657e5e0cedb6ae1c6549b1f49c74b.zip |
version bump + patches #17336 #21017 #21444 #26023
Diffstat (limited to 'net-misc/ntp/files/ntpd.rc')
-rw-r--r-- | net-misc/ntp/files/ntpd.rc | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/net-misc/ntp/files/ntpd.rc b/net-misc/ntp/files/ntpd.rc index 77292ba8979b..6fe704fa17dc 100644 --- a/net-misc/ntp/files/ntpd.rc +++ b/net-misc/ntp/files/ntpd.rc @@ -1,11 +1,12 @@ #!/sbin/runscript # Copyright 1999-2003 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.12 2003/02/14 23:06:19 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.rc,v 1.13 2003/08/06 07:42:24 vapier Exp $ depend() { need net use dns logger + after ntp-client } checkconfig() { @@ -20,14 +21,6 @@ checkconfig() { start() { checkconfig || return $? - if [ -n "${NTPDATE_CMD}" ] ; then - ebegin "Initializing clock via ${NTPDATE_CMD}" - ${NTPDATE_CMD} ${NTPDATE_OPTS} > /dev/null - eend $? "Failed to run ${NTPDATE_CMD}" - elif [ "${NTPDATE_WARN}" == "y" ] ; then - ewarn "Please setup ntpd via /etc/conf.d/ntpd" - fi - ebegin "Starting ntpd" start-stop-daemon --start --quiet --pidfile /var/run/ntpd.pid \ --startas /usr/bin/ntpd -- -p /var/run/ntpd.pid ${NTPD_OPTS} |