forked from freifunk-franken/firmware
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 <rlanghammer@web.de> Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> [Rephrased commit title and added message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
cac9b55aa2
commit
d989f435e6
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue