summaryrefslogtreecommitdiff
path: root/package/netifd/files/etc/init.d/network
diff options
context:
space:
mode:
Diffstat (limited to 'package/netifd/files/etc/init.d/network')
-rwxr-xr-xpackage/netifd/files/etc/init.d/network4
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() {