aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-01-09 21:03:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-01-09 21:03:48 +0000
commitfd7889cf6f9551d8f5ce25c7f74546562f7447dd (patch)
tree49fa950c09fa8848cfc2af1e7fd71c5816c7ca62
parentff6010a732bf4c38e3de852ac6b2f4571bf0147d (diff)
downloadupstream-fd7889cf6f9551d8f5ce25c7f74546562f7447dd.tar.gz
upstream-fd7889cf6f9551d8f5ce25c7f74546562f7447dd.tar.bz2
upstream-fd7889cf6f9551d8f5ce25c7f74546562f7447dd.zip
dnsmasq: add local domain as search directive to /tmp/resolv.conf
SVN-Revision: 19086
-rw-r--r--package/dnsmasq/files/dnsmasq.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index 37b8eb8669..70488a569f 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
}
}