comparison scripts/nameserver_autogen/dnsmasq_tld_conffile @ 747:04a5f1cdced7 draft

bugfix (thx Nomius)
author Nick <nick@somerandomnick.ano>
date Thu, 10 Nov 2011 05:51:01 +0000
parents 3b3f6b3d0501
children
comparison
equal deleted inserted replaced
746:3b3f6b3d0501 747:04a5f1cdced7
29 29
30 echo 30 echo
31 31
32 for tld in $($LS db/dom/); do 32 for tld in $($LS db/dom/); do
33 for domain in $($LS db/dom/${tld}/); do 33 for domain in $($LS db/dom/${tld}/); do
34 if [ -d $($LS db/dom/${tld}/${domain}/ns/) ]; then 34 if [ -d $($LS -d db/dom/${tld}/${domain}/) ]; then
35 for ns in $($LS db/dom/${tld}/${domain}/ns/); do 35 if [ -d $($LS -d db/dom/${tld}/${domain}/ns/) ]; then
36 STR="server=/${domain}.${tld}/$(scripts/ns2ip -f ${ns})" 36 for ns in $($LS db/dom/${tld}/${domain}/ns/); do
37 echo $STR 37 STR="server=/${domain}.${tld}/$(scripts/ns2ip -f ${ns})"
38 done; 38 echo $STR
39 done;
40 fi
39 fi 41 fi
40 done; 42 done;
41 done 43 done