Sfoglia il codice sorgente

dnsmasq: add local domain as search directive to /tmp/resolv.conf

SVN-Revision: 19086
Jo-Philipp Wich 16 anni fa
parent
commit
fd7889cf6f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      package/dnsmasq/files/dnsmasq.init

+ 1 - 0
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
 	}
 }