diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-12-17 06:02:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-12-17 06:02:04 +0000 |
commit | 8ac6a378ee92733500fb2554050d888c55d17903 (patch) | |
tree | c0f137cb22d543da5f4aa6b6443bffecf07f255d /net-misc/ntp | |
parent | version bump (diff) | |
download | gentoo-2-8ac6a378ee92733500fb2554050d888c55d17903.tar.gz gentoo-2-8ac6a378ee92733500fb2554050d888c55d17903.tar.bz2 gentoo-2-8ac6a378ee92733500fb2554050d888c55d17903.zip |
fix for #12276
Diffstat (limited to 'net-misc/ntp')
-rw-r--r-- | net-misc/ntp/files/ntpd.rc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-misc/ntp/files/ntpd.rc b/net-misc/ntp/files/ntpd.rc index d6b3262ac06a..dfc273de65ca 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.1 2002/12/16 16:17:46 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.rc,v 1.2 2002/12/17 06:02:04 vapier Exp $ depend() { need net @@ -19,7 +19,7 @@ checkconfig() { start() { checkconfig || return $? - NTPDATESERVERS=`grep '^server[[:space:]]*' /etc/ntp.conf | awk '{print $2}'` + NTPDATESERVERS=`grep '^[server|peer][[:space:]]*' /etc/ntp.conf | awk '{print $2}'` if [ -n "${NTPDATESERVERS}" ] ; then ebegin "Running ntpdate" ntpdate -b ${NTPDATESERVERS} > /dev/null |