|
Last change
on this file since 4952 was 4317, checked in by dirkx, 21 years ago |
|
Fixing line types
|
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
513 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 |
|
|---|
| 3 | debug=0;
|
|---|
| 4 |
|
|---|
| 5 | chown -R www /home/genesis
|
|---|
| 6 | sudo -u www svn up /home/genesis
|
|---|
| 7 | sh /home/dns_generator/run.sh clean
|
|---|
| 8 | sh /home/dns_generator/run.sh gendns
|
|---|
| 9 | if [ ! $? = 0 ]; then
|
|---|
| 10 | echo "ERRORS in GENESIS FILES"
|
|---|
| 11 | exit 1
|
|---|
| 12 | fi
|
|---|
| 13 |
|
|---|
| 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
|
|---|
| 18 | cp /home/dns_generator/*.NET.* /home/dns/master
|
|---|
| 19 | /etc/rc.d/named restart
|
|---|
| 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.