initial commit of a *whole bunch* of old Egressive shell scripts, used to make many people redundant.

This commit is contained in:
Dave Lane 2016-03-16 13:43:31 +13:00
commit 43e0f5b59e
329 changed files with 31937 additions and 0 deletions

21
egupdatebind/egupdatebind Executable file
View file

@ -0,0 +1,21 @@
#!/bin/bash
#
# rob@egressive.com 20070402
#
NAMED_CONF_FILE="/etc/bind/named.conf.egressive"
DATE=`date`
cat <<EOT >> $NAMED_CONF_FILE
// added by /etc/egscripts/egupdatebind/egupdatebind on $DATE
zone "$1" {
type slave;
masters { 202.6.116.2; 172.16.96.2; };
allow-notify { 202.6.116.2; 172.16.96.2; };
allow-query { any; };
//allow-transfer { key TRANSFER; };
file "slave/$1";
};
EOT
sudo /etc/init.d/bind9 reload