source:
genesis/dns/confs/rambo/update.sh@
4102
Last change on this file since 4102 was 4102, checked in by , 20 years ago | |
---|---|
|
|
File size: 373 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | |
3 | debug=0; |
4 | |
5 | sh /home/dns_generator/run.sh clean |
6 | sh /home/dns_generator/run.sh gendns |
7 | sh /home/dns_generator/run.sh validate |
8 | if [ $? = 0 ]; then |
9 | if [ $debug = 0 ]; then |
10 | cp /home/dns_generator/*.in-addr.arpa /home/dns/master |
11 | cp /home/dns_generator/*.NET /home/dns/master |
12 | rndc reload |
13 | fi |
14 | else |
15 | if [ $debug = 1 ]; then |
16 | echo "CONFIG ERRORS" |
17 | fi |
18 | fi |
Note:
See TracBrowser
for help on using the repository browser.