From f40f612f26f15f824c44b4ea9f6d40014a5310f7 Mon Sep 17 00:00:00 2001 From: Svenne Krap Date: Mon, 11 Jan 2010 10:56:27 +0100 Subject: [PATCH] make update-zone-conf smarter (skip files and non-finished domains) --- update-zone-conf.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update-zone-conf.sh b/update-zone-conf.sh index 24be766..6bf2e88 100755 --- a/update-zone-conf.sh +++ b/update-zone-conf.sh @@ -6,7 +6,10 @@ rm -f zones/$zoneconf_name echo "Generating new $zoneconf_name" for d in zones/* ; do + if [ ! -d $d ] ; then continue ; fi zone=`basename $d` + if [ ! -f $d/$zone.zone.signed ] ; then continue ; fi + echo " ... found $zone" cat >> zones/$zoneconf_name <