Developing lightweight computation at the DSG edge

Commit cee45ae1 authored by Pau Escrich's avatar Pau Escrich
Browse files

Change /etc/init.d/firwall restart for sh /etc/firewall.user

parent 0fff916b
...@@ -820,7 +820,9 @@ qmp_configure_bmx6() { ...@@ -820,7 +820,9 @@ qmp_configure_bmx6() {
} }
qmp_restart_firewall() { qmp_restart_firewall() {
/etc/init.d/firewall restart iptables -F
iptables -F -t nat
sh /etc/firewall.user
} }
qmp_check_force_internet() { qmp_check_force_internet() {
......
...@@ -157,6 +157,8 @@ qmp_gw_masq_wan() { ...@@ -157,6 +157,8 @@ qmp_gw_masq_wan() {
qmp_gw_apply() { qmp_gw_apply() {
qmp_configure_bmx6 qmp_configure_bmx6
bmx6 -c --configReload || /etc/init.d/bmx6 restart bmx6 -c --configReload || /etc/init.d/bmx6 restart
/etc/init.d/firewall restart iptables -F
iptables -F -t nat
sh /etc/firewall.user
} }
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