diff options
Diffstat (limited to 'package/base-files/default/etc/init.d/S40network')
-rwxr-xr-x | package/base-files/default/etc/init.d/S40network | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/base-files/default/etc/init.d/S40network b/package/base-files/default/etc/init.d/S40network index be045045e7..c7720369fd 100755 --- a/package/base-files/default/etc/init.d/S40network +++ b/package/base-files/default/etc/init.d/S40network @@ -6,6 +6,8 @@ start() { include /lib/network setup_switch - /sbin/wifi + [ -e /etc/config/wireless ] || \ + /sbin/wifi detect > /etc/config/wireless + /sbin/wifi up } |