From d989f435e68e557a71d67732de2b05ba97e7f4b1 Mon Sep 17 00:00:00 2001 From: Robert Langhammer Date: Wed, 11 Sep 2019 21:01:17 +0200 Subject: [PATCH] fff-network: Have WAN sysctl commands executing after global ones On layer3 variant ("gateway firmware"), 60-fff-gateway.conf changes "forwarding" for all interfaces, overwriting the changes from 51-fff-network-$iface.conf. By putting the WAN-specific commands after 60-fff-gateway.conf this patch should provide the correct device-specific value for WAN interface now. Signed-off-by: Robert Langhammer Reviewed-by: Adrian Schmutzler [Rephrased commit title and added message] Signed-off-by: Adrian Schmutzler --- src/packages/fff/fff-network/files/usr/sbin/configurenetwork | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/fff/fff-network/files/usr/sbin/configurenetwork b/src/packages/fff/fff-network/files/usr/sbin/configurenetwork index 448bd04b..cac00362 100755 --- a/src/packages/fff/fff-network/files/usr/sbin/configurenetwork +++ b/src/packages/fff/fff-network/files/usr/sbin/configurenetwork @@ -34,7 +34,7 @@ setAutoConf() { local iface=$1 local on=$2 - sysctlfile="/etc/sysctl.d/51-fff-network-$iface.conf" + sysctlfile="/etc/sysctl.d/65-fff-network-$iface.conf" echo "# Generated from configurenetwork" > "$sysctlfile" echo "net.ipv6.conf.$iface.accept_ra = $on" >> "$sysctlfile" echo "net.ipv6.conf.$iface.accept_ra_defrtr = $on" >> "$sysctlfile"