Mercurial > hg > anonet-resdb
diff scripts/nameserver_autogen/dnsmasq_tld_conffile @ 91:17e4bef39c08 draft
Modification of scripts/nameserver_autogen/dnsmasq_tld_conffile
author | pragmo <pragmo@pragmo.ano> |
---|---|
date | Thu, 05 Aug 2010 02:45:46 +0200 |
parents | f091fb99fcf9 |
children | 9e6718a2d6c6 |
line wrap: on
line diff
--- a/scripts/nameserver_autogen/dnsmasq_tld_conffile Wed Aug 04 21:43:21 2010 +0000 +++ b/scripts/nameserver_autogen/dnsmasq_tld_conffile Thu Aug 05 02:45:46 2010 +0200 @@ -1,6 +1,8 @@ #!/bin/bash #Remember to redirect the output into some file! +sh scripts/check_db_safety || exit 1 + for tld in $(ls db/dom/); do for domain in $(ls db/dom/${tld}/); do for ns in $(cat db/dom/${tld}/${domain}/ns/*); do