aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-04-14 22:09:02 +0000
committerErmal <eri@pfsense.org>2010-04-14 22:09:02 +0000
commit309ede5590b29475da43368ea1509eaa787bf14c (patch)
tree29efef26347063eba1470aac613d6e5672e4ced8
parent55017f9fc8482d3c64215afa01a6345b02572139 (diff)
downloadpfsense-packages-309ede5590b29475da43368ea1509eaa787bf14c.tar.gz
pfsense-packages-309ede5590b29475da43368ea1509eaa787bf14c.tar.bz2
pfsense-packages-309ede5590b29475da43368ea1509eaa787bf14c.zip
Ticket #440. dnscache-conf will create the direcory itself.
-rw-r--r--config/tinydns/tinydns.inc2
1 files changed, 1 insertions, 1 deletions
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"))