summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-06-07 16:46:03 +0000
committerMike Frysinger <vapier@gentoo.org>2004-06-07 16:46:03 +0000
commit59e1948b5f95845bb01f00bfd3826f3b1d748838 (patch)
tree510a5dfca2a00b86334ca1e98ee37979fe8663f4 /net-misc/ntp/ntp-4.2.0-r2.ebuild
parentadded fix for gcc 3.4 (Manifest recommit) (diff)
downloadgentoo-2-59e1948b5f95845bb01f00bfd3826f3b1d748838.tar.gz
gentoo-2-59e1948b5f95845bb01f00bfd3826f3b1d748838.tar.bz2
gentoo-2-59e1948b5f95845bb01f00bfd3826f3b1d748838.zip
dont detect commented notrust lines
Diffstat (limited to 'net-misc/ntp/ntp-4.2.0-r2.ebuild')
-rw-r--r--net-misc/ntp/ntp-4.2.0-r2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-misc/ntp/ntp-4.2.0-r2.ebuild b/net-misc/ntp/ntp-4.2.0-r2.ebuild
index 3e9381c105ae..717da9acf744 100644
--- a/net-misc/ntp/ntp-4.2.0-r2.ebuild
+++ b/net-misc/ntp/ntp-4.2.0-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.0-r2.ebuild,v 1.8 2004/05/12 12:52:24 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.0-r2.ebuild,v 1.9 2004/06/07 16:46:03 vapier Exp $
inherit eutils flag-o-matic
@@ -119,7 +119,7 @@ pkg_postinst() {
einfo "Now you can use /etc/init.d/ntp-client to set your time at"
einfo "boot while you can use /etc/init.d/ntpd to maintain your time"
einfo "while your machine runs"
- if [ ! -z "$(grep notrust ${ROOT}/etc/ntp.conf)" ] ; then
+ if [ ! -z "$(egrep '^[^#].*notrust' ${ROOT}/etc/ntp.conf)" ] ; then
echo
eerror "The notrust option was found in your /etc/ntp.conf!"
ewarn "If your ntpd starts sending out weird responses,"