X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/38a2e4b392ba32048ba7da823a18150910792044..8dc03d7740ec10c80ce91f2dd3cd8a267c69f6b5:/package/base-files/files/etc/init.d/network 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 }