summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2002-08-20 15:10:56 +0000
committerAchim Gottinger <achim@gentoo.org>2002-08-20 15:10:56 +0000
commit5a4101dfdceee9d2349d6967f84b107bbd3d458d (patch)
treeb7dc8b393ae295dbbdc33e0d84ac05bb167729a4 /net-dns/bind/files
parentunmasked fixed rsync from apr 8 (diff)
downloadgentoo-2-5a4101dfdceee9d2349d6967f84b107bbd3d458d.tar.gz
gentoo-2-5a4101dfdceee9d2349d6967f84b107bbd3d458d.tar.bz2
gentoo-2-5a4101dfdceee9d2349d6967f84b107bbd3d458d.zip
Added ${CHROOT} to the /etc/bin/named.conf check
Diffstat (limited to 'net-dns/bind/files')
-rw-r--r--net-dns/bind/files/named.rc66
1 files changed, 3 insertions, 3 deletions
diff --git a/net-dns/bind/files/named.rc6 b/net-dns/bind/files/named.rc6
index 36f6a2f01bfe..7b152bab1336 100644
--- a/net-dns/bind/files/named.rc6
+++ b/net-dns/bind/files/named.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.rc6,v 1.2 2002/08/06 01:41:26 nitro Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.rc6,v 1.3 2002/08/20 15:10:56 achim Exp $
opts="start stop reload restart"
@@ -10,8 +10,8 @@ depend() {
}
checkconfig() {
- if [ ! -f /etc/bind/named.conf ] ; then
- eerror "No /etc/bind/named.conf file exists!"
+ if [ ! -f ${CHROOT}/etc/bind/named.conf ] ; then
+ eerror "No ${CHROOT}/etc/bind/named.conf file exists!"
fi
# In case someone doesn't have $CPU set from /etc/conf.d/named