dnsmasq: add local domain as search directive to /tmp/resolv.conf
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 9 Jan 2010 21:03:48 +0000 (21:03 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 9 Jan 2010 21:03:48 +0000 (21:03 +0000)
SVN-Revision: 19086

package/dnsmasq/files/dnsmasq.init

index 37b8eb86695f602ffa399549466b5f553299a069..70488a569fe67e24ad31ff369cd4dacd11bc83a1 100644 (file)
@@ -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
        }
 }