diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-08-28 14:10:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-08-28 14:10:55 +0000 |
commit | 18a6db118c65dc4058886608f42f0a68b510ea85 (patch) | |
tree | ff64880b5973e031d1fc64d103d27454efc01107 /package/base-files/files/etc/init.d | |
parent | b20fdad79b41edbd2554f084465ce84afec78a11 (diff) | |
download | upstream-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/base-files/files/etc/init.d')
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 1 |
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 |