Developing lightweight computation at the DSG edge

Commit 630bd7a8 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Restart the network instead of reloading it

In some corner cases, after changing the wireless settings,
the physical [radio] interfaces come up but the logical ones holding
them don't. By restarting the network, instead of reloading it, they
appear to do. It's inconvenient, because it breaks connections for a
while, but it's safer as the configuration is surely applied.

Fixes #464
Signed-off-by: default avatarRoger Pueyo Centelles <>
parent d12185fa
......@@ -51,7 +51,7 @@ apply_services() {
configure_network() {
/etc/init.d/network reload
/etc/init.d/network restart
if /etc/init.d/gwck enabled
/etc/init.d/gwck restart
......@@ -850,7 +850,7 @@ qmp_configure_initial() {
qmp_hooks_exec firstboot
/etc/init.d/network reload
/etc/init.d/network restart
sleep 1
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