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 /package/base-files/files/etc/init.d | |
parent | 848075e475e7ba6494bafdd302d5177079bf04ca (diff) | |
download | mtk-20170518-206998371f39b38bab94af97216eed3fea98ce32.zip mtk-20170518-206998371f39b38bab94af97216eed3fea98ce32.tar.gz mtk-20170518-206998371f39b38bab94af97216eed3fea98ce32.tar.bz2 |
wireless config gets regenerated not only when it does not exist, buit also if it is 0 len
SVN-Revision: 8149
Diffstat (limited to 'package/base-files/files/etc/init.d')
-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 eab0011..2a11666 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 } |