From 309ede5590b29475da43368ea1509eaa787bf14c Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 14 Apr 2010 22:09:02 +0000 Subject: Ticket #440. dnscache-conf will create the direcory itself. --- config/tinydns/tinydns.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/tinydns/tinydns.inc b/config/tinydns/tinydns.inc index f68a3656..042f6d45 100644 --- a/config/tinydns/tinydns.inc +++ b/config/tinydns/tinydns.inc @@ -237,7 +237,7 @@ function tinydns_custom_php_changeip_command() { $ipmask = $config['interfaces'][$dnsif]['subnet']; $arr = tinydns_get_ip_subnet_arpa($dnscacheip, $ipmask); $dnsuserip = $arr[0]; - exec("/bin/mkdir -p {$g['varetc_path']}/dnscache{$dnsidx}"); + //exec("/bin/mkdir -p {$g['varetc_path']}/dnscache{$dnsidx}"); exec("/usr/local/bin/dnscache-conf Gdnscache Gdnslog {$g['varetc_path']}/dnscache{$dnsidx} {$dnscacheip}"); exec("/bin/ln -s {$g['varetc_path']}/dnscache{$dnsidx} {$g['varrun_path']}/service/"); if (!is_dir("{$g['varetc_path']}/dnscache{$dnsidx}/env/IP")) -- cgit v1.2.3