aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit18a6db118c65dc4058886608f42f0a68b510ea85 (patch)
treeff64880b5973e031d1fc64d103d27454efc01107 /package
parentb20fdad79b41edbd2554f084465ce84afec78a11 (diff)
downloadupstream-18a6db118c65dc4058886608f42f0a68b510ea85.tar.gz
upstream-18a6db118c65dc4058886608f42f0a68b510ea85.tar.bz2
upstream-18a6db118c65dc4058886608f42f0a68b510ea85.zip
fix a race condition which would leave dnsmasq in infinite resolving recursion nirvana
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12424 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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