From 16929fc65c73213189bf8e6db667a7c52e4d657d Mon Sep 17 00:00:00 2001 From: Goffredo Andreone Date: Wed, 21 Feb 2007 18:55:06 +0000 Subject: Fixed copy resolv.conf to resolv.config.dnscache error --- packages/tinydns/tinydns.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages') 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"); -- cgit v1.2.3