From bb9dc0c1f42ec6d42fc283c880652302b2d5b13d Mon Sep 17 00:00:00 2001 From: pragmo Date: Thu, 5 Aug 2010 02:45:46 +0200 Subject: Modification of scripts/nameserver_autogen/dnsmasq_tld_conffile --- scripts/nameserver_autogen/dnsmasq_tld_conffile | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 scripts/nameserver_autogen/dnsmasq_tld_conffile (limited to 'scripts') diff --git a/scripts/nameserver_autogen/dnsmasq_tld_conffile b/scripts/nameserver_autogen/dnsmasq_tld_conffile old mode 100644 new mode 100755 index a9eb16c..e7d3fb6 --- a/scripts/nameserver_autogen/dnsmasq_tld_conffile +++ b/scripts/nameserver_autogen/dnsmasq_tld_conffile @@ -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 -- cgit v1.2.3