summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-05-24 18:44:30 +0000
committerMike Frysinger <vapier@gentoo.org>2004-05-24 18:44:30 +0000
commita6fd9249941e0ee1e3b63b0d25cf713bf271d6b1 (patch)
treea38e70868a34f33c84ac773abd289e623165da33 /net-misc/ntp
parentFixed typo and closing bug #50809. (diff)
downloadhistorical-a6fd9249941e0ee1e3b63b0d25cf713bf271d6b1.tar.gz
historical-a6fd9249941e0ee1e3b63b0d25cf713bf271d6b1.tar.bz2
historical-a6fd9249941e0ee1e3b63b0d25cf713bf271d6b1.zip
dont force -Q in case user doesnt use ntpdate
Diffstat (limited to 'net-misc/ntp')
-rw-r--r--net-misc/ntp/files/ntp-client.confd4
-rw-r--r--net-misc/ntp/files/ntp-client.rc4
2 files changed, 4 insertions, 4 deletions
diff --git a/net-misc/ntp/files/ntp-client.confd b/net-misc/ntp/files/ntp-client.confd
index e5137c70233f..6cd794c04347 100644
--- a/net-misc/ntp/files/ntp-client.confd
+++ b/net-misc/ntp/files/ntp-client.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/ntp-client.confd,v 1.2 2003/09/19 17:50:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntp-client.confd,v 1.3 2004/05/24 18:44:30 vapier Exp $
# Command to run to set the clock initially
# Most people should just leave this line alone ...
@@ -12,7 +12,7 @@ NTPCLIENT_CMD="ntpdate"
# Most people should just uncomment this variable and
# change 'someserver' to a valid hostname which you
# can aquire from the URL's below
-#NTPCLIENT_OPTS="-b someserver"
+#NTPCLIENT_OPTS="-b someserver -Q"
##
# A list of available servers is available here:
diff --git a/net-misc/ntp/files/ntp-client.rc b/net-misc/ntp/files/ntp-client.rc
index 56bf13f1834e..f4839031fbdf 100644
--- a/net-misc/ntp/files/ntp-client.rc
+++ b/net-misc/ntp/files/ntp-client.rc
@@ -1,7 +1,7 @@
#!/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/ntp-client.rc,v 1.4 2004/02/16 01:56:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntp-client.rc,v 1.5 2004/05/24 18:44:30 vapier Exp $
depend() {
before cron
@@ -27,6 +27,6 @@ start() {
checkconfig || return $?
ebegin "Setting clock via the ntp client '${NTPCLIENT_CMD}'"
- ${NTPCLIENT_CMD} -Q ${NTPCLIENT_OPTS} >/dev/null
+ ${NTPCLIENT_CMD} ${NTPCLIENT_OPTS} >/dev/null
eend $? "Failed to set clock"
}