mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-30 21:12:49 +02:00
use 127.0.0.1 as dns server and point dnsmasq to /tmp/resolv.conf
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4282 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
bcd02c4560
commit
37ba07b32c
@ -153,7 +153,6 @@ define Package/base-files$(TARGET)/install
|
|||||||
mkdir -p $(1)/usr/bin
|
mkdir -p $(1)/usr/bin
|
||||||
mkdir -p $(1)/sys
|
mkdir -p $(1)/sys
|
||||||
mkdir -p $(1)/www
|
mkdir -p $(1)/www
|
||||||
ln -sf /tmp/resolv.conf $(1)/etc/resolv.conf
|
|
||||||
ln -sf /proc/mounts $(1)/etc/mtab
|
ln -sf /proc/mounts $(1)/etc/mtab
|
||||||
rm -f $(1)/var
|
rm -f $(1)/var
|
||||||
ln -sf /tmp $(1)/var
|
ln -sf /tmp $(1)/var
|
||||||
|
2
package/base-files/default/etc/resolv.conf
Normal file
2
package/base-files/default/etc/resolv.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
nameserver 127.0.0.1
|
||||||
|
search lan
|
@ -8,6 +8,7 @@ localise-queries
|
|||||||
local=/lan/
|
local=/lan/
|
||||||
domain=lan
|
domain=lan
|
||||||
expand-hosts
|
expand-hosts
|
||||||
|
resolv-file=/tmp/resolv.conf
|
||||||
|
|
||||||
@ifdef dhcp_enable
|
@ifdef dhcp_enable
|
||||||
dhcp-range=@@start@@,@@end@@,@@netmask@@,@@lease@@
|
dhcp-range=@@start@@,@@end@@,@@netmask@@,@@lease@@
|
||||||
|
Loading…
Reference in New Issue
Block a user