summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-12-17 23:40:17 +0000
committerMike Frysinger <vapier@gentoo.org>2002-12-17 23:40:17 +0000
commit8f16f2d0c584ecba2a219eba05f2cda977cf4483 (patch)
treefe57b0ecef82b3795c2dbed7d209ca86a9395e3f /net-misc/ntp/files
parentAdded sparc keyword per Bug#12323 (diff)
downloadhistorical-8f16f2d0c584ecba2a219eba05f2cda977cf4483.tar.gz
historical-8f16f2d0c584ecba2a219eba05f2cda977cf4483.tar.bz2
historical-8f16f2d0c584ecba2a219eba05f2cda977cf4483.zip
grep -> egrep
Diffstat (limited to 'net-misc/ntp/files')
-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 dfc273de65ca..e94a82ed115b 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.2 2002/12/17 06:02:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.rc,v 1.3 2002/12/17 23:40:17 vapier Exp $
depend() {
need net
@@ -19,7 +19,7 @@ checkconfig() {
start() {
checkconfig || return $?
- NTPDATESERVERS=`grep '^[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