some housecleaning
[root_zone_test.git] / bin / do.sh
index 44c5e65..63e6c29 100755 (executable)
--- a/bin/do.sh
+++ b/bin/do.sh
@@ -1,11 +1,14 @@
 #! /bin/bash
 
+basedir=$(cd `dirname $0`/..; pwd)
+cd $basedir
+
 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"
-read c
-./query.sh > $f
+getkey
+./bin/dnskey_query.sh > $f
 egrep -e "(BIND|NSD|SIZE)" $f