aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-04-14 22:10:52 +0000
committerErmal <eri@pfsense.org>2010-04-14 22:10:52 +0000
commit34bdae594940da4ae236495aa560b1333c5dea24 (patch)
tree7326c0fdd278f5efef167b8c868d94610661c5a4 /config
parent309ede5590b29475da43368ea1509eaa787bf14c (diff)
downloadpfsense-packages-34bdae594940da4ae236495aa560b1333c5dea24.tar.gz
pfsense-packages-34bdae594940da4ae236495aa560b1333c5dea24.tar.bz2
pfsense-packages-34bdae594940da4ae236495aa560b1333c5dea24.zip
Ticket #490. Correct path.
Diffstat (limited to 'config')
-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 042f6d45..02c4cbb1 100644
--- a/config/tinydns/tinydns.inc
+++ b/config/tinydns/tinydns.inc
@@ -240,7 +240,7 @@ function tinydns_custom_php_changeip_command() {
//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"))
+ if (!is_dir("{$g['varetc_path']}/dnscache{$dnsidx}/env"))
exec("/bin/mkdir -p {$g['varetc_path']}/dnscache{$dnsidx}/env");
exec("echo {$dnscacheip} > {$g['varetc_path']}/dnscache{$dnsidx}/env/IP");
tinydns_dnscache_forwarding_servers($dnsidx);