git://blacka.com
/
root_zone_test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some housecleaning
[root_zone_test.git]
/
bin
/
do.sh
diff --git
a/bin/do.sh
b/bin/do.sh
index
44c5e65
..
63e6c29
100755
(executable)
--- a/
bin/do.sh
+++ b/
bin/do.sh
@@
-1,11
+1,14
@@
#! /bin/bash
#! /bin/bash
+basedir=$(cd `dirname $0`/..; pwd)
+cd $basedir
+
f=$1
f=$1
-echo "Modify
root zone
and sign.sh"
-read c
-./sign.sh
+echo "Modify
zones
and sign.sh"
+getkey
+./
bin/
sign.sh
echo "Restart bind and NSD"
echo "Restart bind and NSD"
-read c
-./query.sh > $f
+getkey
+./
bin/dnskey_
query.sh > $f
egrep -e "(BIND|NSD|SIZE)" $f
egrep -e "(BIND|NSD|SIZE)" $f