mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
Forward port whiterussian resolv.conf changes
/etc/resolv.conf links to /tmp/resolv.conf /tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in) When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6043 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -115,6 +115,7 @@ define Package/base-files$(TARGET)/install
|
||||
rm -f $(1)/var
|
||||
ln -sf /tmp $(1)/var
|
||||
mkdir -p $(1)/etc
|
||||
ln -sf /tmp/resolv.conf $(1)/etc/resolv.conf
|
||||
$(call Package/base-files/install-target,$(1))
|
||||
for conffile in $(1)/etc/config/*; do \
|
||||
if [ -f "$$$$conffile" ]; then \
|
||||
|
||||
Reference in New Issue
Block a user