comparison scripts/nameserver_autogen/bind_tld_zonefile_all.sh @ 1226:4e07b815084b draft

dropped the use of @ so the generated zones would work with yadifa too. also exported env vars so child of bind_tld_zonefile_all.sh can use them
author epoch <epoch@hack.thebackupbox.net>
date Wed, 01 May 2019 17:47:33 +0000
parents dfda92fd4ec3
children 24c17a3904b9
comparison
equal deleted inserted replaced
1223:4ad373a12a0a 1226:4e07b815084b
1 #!/bin/sh 1 #!/bin/sh
2 # be sure to set these variables first. 2 # be sure to set these variables first.
3 #ANO_ZONEFILE=/etc/namedb/ano 3 #export ANO_ZONEFILE=/etc/namedb/ano
4 #RDNS_ZONEFILE=/etc/namedb/21.in-addr.arpa 4 #export RDNS_ZONEFILE=/etc/namedb/21.in-addr.arpa
5 #RESDB_PATH=/services/resdb/resdb 5 #export RESDB_PATH=/services/resdb/resdb
6 if [ ! "$ANO_ZONEFILE" ];then 6 if [ ! "$ANO_ZONEFILE" ];then
7 echo "You forgot to set some variables. read the source plzkthx." >&2 7 echo "You forgot to set some variables. read the source plzkthx." >&2
8 exit 1 8 exit 1
9 fi 9 fi
10 # compat 10 # compat