X-Git-Url: https://blacka.com/cgi-bin/gitweb.cgi?p=root_zone_test.git;a=blobdiff_plain;f=bin%2Fdo.sh;fp=bin%2Fdo.sh;h=63e6c299118c58faae831f9cd7899918e8827830;hp=44c5e659934ecd51eb9fa344bf6f96b30f9b171c;hb=e3317bbd67b1fa1029791f3f8029aecedcdb178f;hpb=74d67e7cfaf0bbb9e1aa4ec36e8c858e6888fe25 diff --git a/bin/do.sh b/bin/do.sh index 44c5e65..63e6c29 100755 --- 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