Developing lightweight computation at the DSG edge

Commit ca9ad18f authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Let WiFi devices start up


Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent e048332c
...@@ -61,9 +61,9 @@ prepare_wifi() { ...@@ -61,9 +61,9 @@ prepare_wifi() {
done done
uci commit wireless uci commit wireless
log "Enabling WiFi and waiting 5 seconds to come up..." log "Enabling WiFi and waiting 10 seconds to come up..."
wifi up wifi up
sleep 5 sleep 10
log "" log ""
......
...@@ -51,6 +51,7 @@ configure_network() { ...@@ -51,6 +51,7 @@ configure_network() {
qmp_bmx6_reload qmp_bmx6_reload
/etc/init.d/network reload /etc/init.d/network reload
/etc/init.d/network restart /etc/init.d/network restart
sleep 5 # Let WiFi devices start up
if /etc/init.d/gwck enabled if /etc/init.d/gwck enabled
then then
/etc/init.d/gwck restart /etc/init.d/gwck restart
......
...@@ -888,9 +888,9 @@ qmp_configure_initial() { ...@@ -888,9 +888,9 @@ qmp_configure_initial() {
qmp_hooks_exec firstboot qmp_hooks_exec firstboot
qmp_configure_wifi_initial qmp_configure_wifi_initial
qmp_configure_wifi qmp_configure_wifi
/etc/init.d/network restart
/etc/init.d/network reload /etc/init.d/network reload
sleep 1 /etc/init.d/network restart
sleep 5 # Let WiFi devices start up
qmp_configure_smart_network qmp_configure_smart_network
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment