From 5ad62fbdd3e65c841a917ee5f2d1fc238921078c Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 8 Jan 2007 21:33:53 +0000 Subject: 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 --- package/base-files/files/etc/init.d/boot | 1 + package/base-files/files/etc/resolv.conf | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 package/base-files/files/etc/resolv.conf (limited to 'package/base-files/files/etc') diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index c58365234..db7ec8cc3 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -15,6 +15,7 @@ start() { mkdir -p /var/lock touch /var/log/wtmp touch /var/log/lastlog + ln -s /tmp/resolv.conf.auto /tmp/resolv.conf [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe # manually trigger hotplug before loading modules diff --git a/package/base-files/files/etc/resolv.conf b/package/base-files/files/etc/resolv.conf deleted file mode 100644 index 9617eacda..000000000 --- a/package/base-files/files/etc/resolv.conf +++ /dev/null @@ -1,2 +0,0 @@ -nameserver 127.0.0.1 -search lan -- cgit v1.2.3