Developing lightweight computation at the DSG edge

Commit d7284f34 authored by p4u's avatar p4u
Browse files

Added dnsmaq restart in configure_network (sometimes dhcp server is not...

Added dnsmaq restart in configure_network (sometimes dhcp server is not working). Added uhttpd restart in configure system (if hostname changes uhttpd crashes)
parent 66afc778
......@@ -52,16 +52,19 @@ apply_netserver() {
}
configure_network() {
sleep 2
sleep 1
qmp_configure
/etc/init.d/network restart
#qmp_publish_lan
/etc/init.d/dnsmasq
apply_netserver
wifi
}
configure_system() {
sleep 1
qmp_configure_system
/etc/init.d/uhttpd restart
}
enable_ns_ppt() {
......
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