Developing lightweight computation at the DSG edge

Commit 32c38d81 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Remove unnecessary network restart



It has been restarted immediately before.
Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent 2fcbe6b9
......@@ -30,15 +30,12 @@ reset_wifi() {
}
configure_wifi() {
# Configure WiFi on qMp config file
qmp_configure_wifi_initial
# Configure WiFi on OpenWrt config file
qmp_configure_wifi
# Configure the whole network to apply wifi settings
configure_network
/etc/init.d/network restart
/etc/init.d/network reload
if /etc/init.d/gwck enabled
then
/etc/init.d/gwck restart
fi
}
configure_gw() {
......@@ -52,8 +49,8 @@ apply_services() {
configure_network() {
qmp_configure
qmp_bmx6_reload
/etc/init.d/network restart
/etc/init.d/network reload
/etc/init.d/network restart
if /etc/init.d/gwck enabled
then
/etc/init.d/gwck restart
......
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