updated documentation
[public/microdnssec.git] / edit-zone.sh
1 #!/bin/bash
2 source `dirname $0`/conf/settings
3 cd `dirname $0`
4
5 if [ $# -ne 1 ] ; then 
6     echo "$0 <zone>"
7     exit
8 fi
9
10 if [ ! -f zones/$1/$1 ] ; then
11     echo "$1 does not exist or is not prepared"
12     exit
13 fi
14
15 $EDITOR zones/$1/$1
16
17 echo "You might want to run update-zone-conf or sign-zone scripts"
18