X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ecec813b40cc99880644a13f521568cfef93f4cd..fadaa82e81840ea33cc8c228f743636fbee1b345:/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 950b33726..2a116664e 100755 --- a/package/base-files/files/etc/init.d/network +++ b/package/base-files/files/etc/init.d/network @@ -2,12 +2,14 @@ # Copyright (C) 2006 OpenWrt.org START=40 +STOP=40 + boot() { setup_switch() { return 0; } include /lib/network setup_switch - [ -e /etc/config/wireless ] || \ + [ -s /etc/config/wireless ] || \ /sbin/wifi detect > /etc/config/wireless /sbin/wifi up }