updated documentation
[public/microdnssec.git] / disable-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 if [ ! -d zones/$1 ] ; then
10     echo "$1 does not exist"
11     exit
12 fi
13
14 mv zones/$1 trash/
15 ./update-zone-conf.sh