diff options
Diffstat (limited to 'package/netifd/files/etc/init.d')
-rwxr-xr-x | package/netifd/files/etc/init.d/network | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/netifd/files/etc/init.d/network b/package/netifd/files/etc/init.d/network index d7d87350ef..455bf411b1 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() { |