2
0
forked from Ivasoft/openwrt

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
This commit is contained in:
Felix Fietkau
2007-01-08 21:33:53 +00:00
parent cd10aa726f
commit 656412d1a3
9 changed files with 15 additions and 9 deletions

View File

@@ -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