rpms/bind/FC-3 named.init,1.28,1.29

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Oct 10 22:54:42 UTC 2005


Author: jvdias

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

Modified Files:
	named.init 
Log Message:



Index: named.init
===================================================================
RCS file: /cvs/dist/rpms/bind/FC-3/named.init,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- named.init	28 Sep 2005 14:41:56 -0000	1.28
+++ named.init	10 Oct 2005 22:54:39 -0000	1.29
@@ -24,14 +24,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