[PATCH] fff-network: restart the firewall

Robert Langhammer rlanghammer at web.de
Mi Aug 15 01:17:24 CEST 2018


Restart the firewall after networkcofiguration to use the correct interfaces.

Fixes: #103

Signed-off-by: Robert Langhammer <rlanghammer at web.de>
---
 src/packages/fff/fff-network/files/usr/sbin/configurenetwork | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/packages/fff/fff-network/files/usr/sbin/configurenetwork b/src/packages/fff/fff-network/files/usr/sbin/configurenetwork
index 0e038a4..cdfd064 100755
--- a/src/packages/fff/fff-network/files/usr/sbin/configurenetwork
+++ b/src/packages/fff/fff-network/files/usr/sbin/configurenetwork
@@ -173,6 +173,9 @@ if [ "$ONE_PORT" = "YES" ] && ( ! uci -q get network.$SWITCHDEV.ifname || [ "$FO
     uci commit network
 fi
 
+# Restart the firewall
+/etc/init.d/fff-firewall start
+
 /etc/init.d/network restart
 
 if [ -n "$ETHMESHMAC" ]; then
-- 
2.11.0



Mehr Informationen über die Mailingliste franken-dev