From patchwork Tue Aug 14 23:17:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: fff-network: restart the firewall From: Robert Langhammer X-Patchwork-Id: 926 Message-Id: <20180814231724.15649-1-rlanghammer@web.de> To: franken-dev@freifunk.net Date: Wed, 15 Aug 2018 01:17:24 +0200 Restart the firewall after networkcofiguration to use the correct interfaces. Fixes: #103 Signed-off-by: Robert Langhammer --- 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