summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/network
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/init.d/network')
-rwxr-xr-xpackage/base-files/files/etc/init.d/network2
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
}