diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-24 22:10:10 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-24 22:10:10 +0000 |
commit | 7e10088cece255a1f0bfeca3ef4a1634a35c552f (patch) | |
tree | a80b1294370463688af69c15bcda76e232ff7124 /package | |
parent | cf267e864c449cdc71cefed3d764bcf30a7ad82a (diff) |
wireless config gets regenerated not only when it does not exist, buit also if it is 0 len
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8149 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 eab00118a..2a116664e 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 } |