tags 377506 + patch
thanks

This would be one way to do it:

--- /tmp/dnsmasq  2006-07-10 07:54:54.725300157 +0200
+++ /etc/init.d/dnsmasq 2006-07-10 07:54:27.371129981 +0200
@@ -28,7 +28,8 @@
 # line in /etc/dnsmasq.conf .
 
 if [ ! "$RESOLV_CONF" ] &&
-   [ -x /sbin/resolvconf ]
+   [ -x /sbin/resolvconf ] &&
+   ! grep -q '^no-resolv' /etc/dnsmasq.conf
 then
  RESOLV_CONF=/var/run/dnsmasq/resolv.conf
 fi

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to