aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns
diff options
context:
space:
mode:
authorGoffredo Andreone <gandreone@pfsense.org>2007-02-21 18:55:06 +0000
committerGoffredo Andreone <gandreone@pfsense.org>2007-02-21 18:55:06 +0000
commit16929fc65c73213189bf8e6db667a7c52e4d657d (patch)
tree7e82a9bfebb45f34ff68b80eca767d3609e17382 /packages/tinydns
parentdbcf00be3c722f824e9e86dfd42fb8a424685c88 (diff)
downloadpfsense-packages-16929fc65c73213189bf8e6db667a7c52e4d657d.tar.gz
pfsense-packages-16929fc65c73213189bf8e6db667a7c52e4d657d.tar.bz2
pfsense-packages-16929fc65c73213189bf8e6db667a7c52e4d657d.zip
Fixed copy resolv.conf to resolv.config.dnscache error
Diffstat (limited to 'packages/tinydns')
-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 a20ae38a..34ea45ec 100644
--- a/packages/tinydns/tinydns.inc
+++ b/packages/tinydns/tinydns.inc
@@ -163,8 +163,8 @@ function tinydns_custom_php_changeip_command() {
exec("/usr/sbin/pw useradd Gdnscache");
exec("/usr/local/bin/dnscache-conf Gdnscache Gdnslog /etc/dnscache {$dnscacheip}");
exec("/bin/ln -s /etc/dnscache /service/");
- exec("/usr/bin/cp /var/etc/resolv.conf /var/etc/resolv.conf.original");
- exec("/usr/bin/cp /var/etc/resolv.conf /var/etc/resolv.conf.dnscache");
+ exec("/bin/cp /var/etc/resolv.conf /var/etc/resolv.conf.original");
+ exec("/bin/cp /var/etc/resolv.conf /var/etc/resolv.conf.dnscache");
}
exec("echo {$dnscacheip} > /etc/dnscache/env/IP");
exec("echo 1 > /etc/dnscache/env/FORWARDONLY");