summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-12-23 17:12:48 +0000
committerMike Frysinger <vapier@gentoo.org>2002-12-23 17:12:48 +0000
commit5687bfa6c8a2e9513acd7c2bbea75a4621f75e7d (patch)
treefbbe8cc41ef98121da2c349aee2d3e88f9265399 /net-misc/ntp
parentchanged * to + (diff)
downloadgentoo-2-5687bfa6c8a2e9513acd7c2bbea75a4621f75e7d.tar.gz
gentoo-2-5687bfa6c8a2e9513acd7c2bbea75a4621f75e7d.tar.bz2
gentoo-2-5687bfa6c8a2e9513acd7c2bbea75a4621f75e7d.zip
changed * to +
Diffstat (limited to 'net-misc/ntp')
-rw-r--r--net-misc/ntp/files/ntpd.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-misc/ntp/files/ntpd.rc b/net-misc/ntp/files/ntpd.rc
index 13051bfb043a..09f3729300c3 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.5 2002/12/23 17:12:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.rc,v 1.6 2002/12/23 17:12:48 vapier Exp $
depend() {
need net
@@ -19,7 +19,7 @@ checkconfig() {
start() {
checkconfig || return $?
- NTPDATESERVERS=`egrep -m 1 '^(server|peer)[[:space:]]+' /etc/ntp.conf | awk '{print $2}'`
+ NTPDATESERVERS=`egrep '^(server|peer)[[:space:]]+' /etc/ntp.conf | awk '{print $2}'`
if [ -n "${NTPDATESERVERS}" ] ; then
ebegin "Running ntpdate"
ntpdate -b ${NTPDATESERVERS} > /dev/null