diff options
author | John Crispin <john@openwrt.org> | 2007-07-24 22:10:10 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2007-07-24 22:10:10 +0000 |
commit | 206998371f39b38bab94af97216eed3fea98ce32 (patch) | |
tree | 8a3b84712dc2a0b88b3d25a7fecb025b473da401 | |
parent | 848075e475e7ba6494bafdd302d5177079bf04ca (diff) | |
download | upstream-206998371f39b38bab94af97216eed3fea98ce32.tar.gz upstream-206998371f39b38bab94af97216eed3fea98ce32.tar.bz2 upstream-206998371f39b38bab94af97216eed3fea98ce32.zip |
wireless config gets regenerated not only when it does not exist, buit also if it is 0 len
SVN-Revision: 8149
-rwxr-xr-x | package/base-files/files/etc/init.d/network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/init.d/network b/package/base-files/files/etc/init.d/network index eab00118ad..2a116664e4 100755 --- a/package/base-files/files/etc/init.d/network +++ b/package/base-files/files/etc/init.d/network @@ -9,7 +9,7 @@ boot() { include /lib/network setup_switch - [ -e /etc/config/wireless ] || \ + [ -s /etc/config/wireless ] || \ /sbin/wifi detect > /etc/config/wireless /sbin/wifi up } |