Last change
on this file since 7218 was 4317, checked in by dirkx, 20 years ago |
Fixing line types
|
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
513 bytes
|
Rev | Line | |
---|
[4100] | 1 | #!/bin/sh
|
---|
| 2 |
|
---|
[4102] | 3 | debug=0;
|
---|
[4100] | 4 |
|
---|
[4258] | 5 | chown -R www /home/genesis
|
---|
| 6 | sudo -u www svn up /home/genesis
|
---|
[4100] | 7 | sh /home/dns_generator/run.sh clean
|
---|
| 8 | sh /home/dns_generator/run.sh gendns
|
---|
[4258] | 9 | if [ ! $? = 0 ]; then
|
---|
| 10 | echo "ERRORS in GENESIS FILES"
|
---|
| 11 | exit 1
|
---|
| 12 | fi
|
---|
| 13 |
|
---|
[4100] | 14 | sh /home/dns_generator/run.sh validate
|
---|
| 15 | if [ $? = 0 ]; then
|
---|
| 16 | if [ $debug = 0 ]; then
|
---|
| 17 | cp /home/dns_generator/*.in-addr.arpa /home/dns/master
|
---|
[4108] | 18 | cp /home/dns_generator/*.NET.* /home/dns/master
|
---|
[4258] | 19 | /etc/rc.d/named restart
|
---|
[4100] | 20 | fi
|
---|
| 21 | else
|
---|
| 22 | if [ $debug = 1 ]; then
|
---|
| 23 | echo "CONFIG ERRORS"
|
---|
| 24 | fi
|
---|
| 25 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.