A. Täffner
2016-01-20 c5e6e8aaad525410900de417565e24bb7bd85630
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
#mysql
dbase={mysql_server_ispconfig_database}
dbhost={mysql_server_ip}
dbuser={mysql_server_ispconfig_user}
dbpass={mysql_server_ispconfig_password}
 
bindpath=/etc/bind
backuppath=$bindpath/backup
curpath=`pwd`
if [ -f /etc/gentoo-release ] ; then
filespre="pri/"
else
filespre="pri."
fi
timenow=`/bin/date +"%Y%m%d-%H%M%S"`
 
namedconf="$bindpath/named.conf.local"
md5namedconf="$bindpath/named.conf.local.md5"