comparison scripts/nameserver_autogen/bind_tld_zonefile_all.sh @ 1230:24c17a3904b9 draft

Revert "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" This reverts commit ab834161696a4f9150d1c8f52bb6f0f453950cb7.
author epoch <epoch@hack.thebackupbox.net>
date Wed, 10 Jul 2019 01:12:59 +0000
parents 4e07b815084b
children c842697ded21
comparison
equal deleted inserted replaced
1228:7259436991c5 1230:24c17a3904b9
1 #!/bin/sh 1 #!/bin/sh
2 # be sure to set these variables first. 2 # be sure to set these variables first.
3 #export ANO_ZONEFILE=/etc/namedb/ano 3 #ANO_ZONEFILE=/etc/namedb/ano
4 #export RDNS_ZONEFILE=/etc/namedb/21.in-addr.arpa 4 #RDNS_ZONEFILE=/etc/namedb/21.in-addr.arpa
5 #export RESDB_PATH=/services/resdb/resdb 5 #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