aboutsummaryrefslogtreecommitdiffstats
path: root/package/dnsmasq
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
commit773bcdd671d28fdf61e3f26c7fd68cb539dc76b3 (patch)
tree85a67896540e4dba2f17848483698b557984b34f /package/dnsmasq
parent7a9a0ea725c40ded203008f1bb9939ad2fa37672 (diff)
downloadmaster-187ad058-773bcdd671d28fdf61e3f26c7fd68cb539dc76b3.tar.gz
master-187ad058-773bcdd671d28fdf61e3f26c7fd68cb539dc76b3.tar.bz2
master-187ad058-773bcdd671d28fdf61e3f26c7fd68cb539dc76b3.zip
[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
Diffstat (limited to 'package/dnsmasq')
-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
}
}