From 656412d1a3806d94b280a9955df528faad6aa8e9 Mon Sep 17 00:00:00 2001 From: Felix Fietkau 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 SVN-Revision: 6043 --- package/base-files/files/etc/init.d/boot | 1 + 1 file changed, 1 insertion(+) (limited to 'package/base-files/files/etc/init.d') diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index c583652..db7ec8c 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 -- cgit v1.1