aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-14 21:54:15 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-14 21:54:15 +0000
commitf6ea351f86c49c063d21f4a8aec35aa104e5ef1c (patch)
tree79c6164a61300505a547f8824aee4a4537a95f33 /packages
parentb76fa1239f91d08ec40e956b903f89a18243d0da (diff)
downloadpfsense-packages-f6ea351f86c49c063d21f4a8aec35aa104e5ef1c.tar.gz
pfsense-packages-f6ea351f86c49c063d21f4a8aec35aa104e5ef1c.tar.bz2
pfsense-packages-f6ea351f86c49c063d21f4a8aec35aa104e5ef1c.zip
Link /etc/axfrdns to /service/
Diffstat (limited to 'packages')
-rw-r--r--packages/tinydns/tinydns.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc
index cd222674..24de1cab 100644
--- a/packages/tinydns/tinydns.inc
+++ b/packages/tinydns/tinydns.inc
@@ -170,12 +170,12 @@ function tinydns_custom_php_changeip_command() {
/* TinyDNS Server */
exec("/usr/local/bin/tinydns-conf Gtinydns Gdnslog /etc/tinydns {$dnsserverip}");
+ exec("/bin/ln -s /etc/tinydns /service/");
/* AXFRDNS - Zone transfers */
if(is_array($ztipaddress))
exec("/usr/local/bin/axfrdns-conf Gaxfrdns Gdnslog /etc/axfrdns /etc/tinydns {$dnsserverip}");
-
- exec("/bin/ln -s /etc/tinydns /service/");
+ exec("/bin/ln -s /etc/axfrdns /service/");
exec("echo {$dnsserverip} > /etc/tinydns/env/IP");
exec("/usr/bin/killall -9 tinydns");