X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f85eb6d428598db0d0c0e4b9e94d8d0bcab0f512..61ba94a1d19af33d33408d43cbf54a7c7784bfbc:/package/netifd/files/etc/init.d/network diff --git a/package/netifd/files/etc/init.d/network b/package/netifd/files/etc/init.d/network index d7d87350e..455bf411b 100755 --- a/package/netifd/files/etc/init.d/network +++ b/package/netifd/files/etc/init.d/network @@ -9,6 +9,10 @@ start() { setup_switch ubus call network reload + + grep -qs config /etc/config/wireless && { + /sbin/wifi up + } } restart() {