From: jow Date: Sat, 9 Jan 2010 21:03:48 +0000 (+0000) Subject: [package] dnsmasq: add local domain as search directive to /tmp/resolv.conf X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/c05762dd883ddbce21c7fc51a5d57b96c4a61553 [package] dnsmasq: add local domain as search directive to /tmp/resolv.conf git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19086 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index 37b8eb866..70488a569 100644 --- a/package/dnsmasq/files/dnsmasq.init +++ b/package/dnsmasq/files/dnsmasq.init @@ -315,6 +315,7 @@ start() { for DNS_SERVER in $DNS_SERVERS ; do echo "nameserver $DNS_SERVER" >> /tmp/resolv.conf done + echo "search $DOMAIN" >> /tmp/resolv.conf } }