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