source: genesis/dns/confs/rambo/update.sh@ 7218

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
Line 
1#!/bin/sh
2
3debug=0;
4
5chown -R www /home/genesis
6sudo -u www svn up /home/genesis
7sh /home/dns_generator/run.sh clean
8sh /home/dns_generator/run.sh gendns
9if [ ! $? = 0 ]; then
10 echo "ERRORS in GENESIS FILES"
11 exit 1
12fi
13
14sh /home/dns_generator/run.sh validate
15if [ $? = 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
21else
22 if [ $debug = 1 ]; then
23 echo "CONFIG ERRORS"
24 fi
25fi
Note: See TracBrowser for help on using the repository browser.