rpms/bind/devel named.init,1.34,1.35

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Oct 10 22:49:44 UTC 2005


Author: jvdias

Update of /cvs/dist/rpms/bind/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv19007

Modified Files:
	named.init 
Log Message:



Index: named.init
===================================================================
RCS file: /cvs/dist/rpms/bind/devel/named.init,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- named.init	28 Sep 2005 14:35:12 -0000	1.34
+++ named.init	10 Oct 2005 22:49:38 -0000	1.35
@@ -28,14 +28,14 @@
 
 [ -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='';




More information about the fedora-cvs-commits mailing list