From 94df73dc9059b58eb6c0d2a6fd0e371266f0c57c Mon Sep 17 00:00:00 2001 From: jvdias Date: Mon, 10 Oct 2005 22:49:38 +0000 Subject: [PATCH] *** empty log message *** --- named.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/named.init b/named.init index a50530a..1fa13c2 100755 --- a/named.init +++ b/named.init @@ -28,14 +28,14 @@ prog=$named [ -x /usr/sbin/$named ] || exit 1 -named_conf=${ROOTDIR}/etc/named.conf +named_conf=/etc/named.conf c_opt=0 if [[ "${OPTIONS}" = *-c* ]]; then named_conf=`echo ${OPTIONS} | sed 's/^.*-c[\ \ ]//;s/[\ \ ].*$//'`; c_opt=1; fi; -[ -r ${named_conf} ] || exit 1 +[ -r ${ROOTDIR}/${named_conf} ] || exit 1 if [ ${c_opt} -eq 0 ]; then named_conf='';