From: Svenne Krap Date: Mon, 11 Jan 2010 10:15:57 +0000 (+0100) Subject: added sign-all functionality X-Git-Url: https://git.svenne.dk/?a=commitdiff_plain;h=0f92094dd6ce5e8ed75e8671aff75cf1c353150f;p=public%2Fmicrodnssec.git added sign-all functionality --- diff --git a/sign-all.sh b/sign-all.sh new file mode 100755 index 0000000..9df56c4 --- /dev/null +++ b/sign-all.sh @@ -0,0 +1,14 @@ +#!/bin/bash +source `dirname $0`/conf/settings +cd `dirname $0` + +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 ] ; then continue ; fi + echo " ... found $zone" + ./sign-zone.sh $zone +done