git.svenne.dk
/
public
/
microdnssec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f0de78a
)
added sign-all functionality
author
Svenne Krap
<svenne@krap.dk>
Mon, 11 Jan 2010 10:15:57 +0000
(11:15 +0100)
committer
Svenne Krap
<svenne@krap.dk>
Mon, 11 Jan 2010 10:15:57 +0000
(11:15 +0100)
sign-all.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/sign-all.sh
b/sign-all.sh
new file mode 100755
(executable)
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