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:
f991883
)
make update-zone-conf smarter (skip files and non-finished domains)
author
Svenne Krap
<svenne@krap.dk>
Mon, 11 Jan 2010 09:56:27 +0000
(10:56 +0100)
committer
Svenne Krap
<svenne@krap.dk>
Mon, 11 Jan 2010 09:56:27 +0000
(10:56 +0100)
update-zone-conf.sh
patch
|
blob
|
history
diff --git
a/update-zone-conf.sh
b/update-zone-conf.sh
index 24be766ad8bc42d2ec82da7836c081c4e45022c3..6bf2e885aef95f7eca517cc80ec143336442cd5b 100755
(executable)
--- 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 <<EOF
zone "$zone." in {
type master;