aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-28 14:10:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-28 14:10:55 +0000
commit2176ae1a6f384d977ca77f378494f28afeb16100 (patch)
tree3103a38652fe57cb0593ae18057a29a30af65524 /package/base-files
parentfc8fa009ee3a3f430a30b0b6e83c28efe2360385 (diff)
downloadupstream-2176ae1a6f384d977ca77f378494f28afeb16100.tar.gz
upstream-2176ae1a6f384d977ca77f378494f28afeb16100.tar.bz2
upstream-2176ae1a6f384d977ca77f378494f28afeb16100.zip
fix a race condition which would leave dnsmasq in infinite resolving recursion nirvana
SVN-Revision: 12424
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index 88dded646c..49562b78d0 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -45,6 +45,7 @@ start() {
chown 0700 /tmp/.uci
touch /var/log/wtmp
touch /var/log/lastlog
+ touch /tmp/resolv.conf.auto
ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf
[ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe