Developing lightweight computation at the DSG edge

Commit 83d26208 authored by p4u's avatar p4u
Browse files

Add restart firewall function

parent 159c3bc6
......@@ -68,6 +68,7 @@ configure_network() {
/etc/init.d/network reload
/etc/init.d/dnsmasq restart
apply_netserver
qmp_restart_firewall
}
configure_system() {
......
......@@ -1217,6 +1217,9 @@ qmp_configure_system() {
qmp_set_hosts
}
qmp_restart_firewall() {
/etc/init.d/firewall restart
}
qmp_check_force_internet() {
[ "$(uci get qmp.networks.force_internet)" == "1" ] && qmp_gw_offer_default
......
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