From 0f92094dd6ce5e8ed75e8671aff75cf1c353150f Mon Sep 17 00:00:00 2001 From: Svenne Krap Date: Mon, 11 Jan 2010 11:15:57 +0100 Subject: [PATCH] added sign-all functionality --- sign-all.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 sign-all.sh 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 -- 2.36.1