diff options
author | Goffredo Andreone <gandreone@pfsense.org> | 2007-02-21 18:55:06 +0000 |
---|---|---|
committer | Goffredo Andreone <gandreone@pfsense.org> | 2007-02-21 18:55:06 +0000 |
commit | 16929fc65c73213189bf8e6db667a7c52e4d657d (patch) | |
tree | 7e82a9bfebb45f34ff68b80eca767d3609e17382 | |
parent | dbcf00be3c722f824e9e86dfd42fb8a424685c88 (diff) | |
download | pfsense-packages-16929fc65c73213189bf8e6db667a7c52e4d657d.tar.gz pfsense-packages-16929fc65c73213189bf8e6db667a7c52e4d657d.tar.bz2 pfsense-packages-16929fc65c73213189bf8e6db667a7c52e4d657d.zip |
Fixed copy resolv.conf to resolv.config.dnscache error
-rw-r--r-- | packages/tinydns/tinydns.inc | 4 |
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"); |