Developing lightweight computation at the DSG edge

Commit 84b4d554 authored by p4u's avatar p4u
Browse files

Removed unecessary network and wifi reloads from qmpcontrol

parent fea84031
......@@ -18,6 +18,7 @@
# the file called "COPYING".
#
# Contributors:
# Pau Escrich <p4u@dabax.net>
# Simó Albert i Beltran
#
......@@ -48,7 +49,7 @@ disable_default_gw() {
configure_wifi() {
qmp_configure_wifi_initial
qmp_configure_wifi
wifi
/etc/init.d/network reload
}
apply_netserver() {
......@@ -56,20 +57,15 @@ apply_netserver() {
}
configure_network() {
sleep 1
qmp_configure
/etc/init.d/network restart
ifup -a
#qmp_publish_lan
[ -f "/etc/init.d/olsrd" ] && /etc/init.d/olsrd restart
bmx6 -c --configReload || /etc/init.d/bmx6 restart
/etc/init.d/network reload
/etc/init.d/dnsmasq restart
apply_netserver
wifi
}
configure_system() {
sleep 1
qmp_configure_system
/etc/init.d/uhttpd 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