A. Täffner
2016-01-20 c5f49d6cf71974f9804f8d2d4025be39a4231153
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"