forked from freifunk-franken/firmware
fff-network: Fix second occurrence of ROUTERMAC and ETHMESHMAC
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Fabian Bläse <fabian@blaese.de> Tested-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Robert Langhammer <rlanghammer@web.de>
This commit is contained in:
parent
95507d1728
commit
eff6b0a305
|
@ -169,7 +169,7 @@ if [[ -n "$ETHMESHMAC" ]]; then
|
||||||
uci commit
|
uci commit
|
||||||
|
|
||||||
ifconfig $SWITCHDEV.3 down
|
ifconfig $SWITCHDEV.3 down
|
||||||
ifconfig $SWITCHDEV.3 hw ether $NEW_MACADDR
|
ifconfig $SWITCHDEV.3 hw ether $ETHMESHMAC
|
||||||
ifconfig $SWITCHDEV.3 up
|
ifconfig $SWITCHDEV.3 up
|
||||||
/etc/init.d/network restart
|
/etc/init.d/network restart
|
||||||
fi
|
fi
|
||||||
|
@ -187,7 +187,7 @@ if [[ -n "$ROUTERMAC" ]]; then
|
||||||
uci commit
|
uci commit
|
||||||
|
|
||||||
ifconfig br-mesh down
|
ifconfig br-mesh down
|
||||||
ifconfig br-mesh hw ether $NEW_MACADDR
|
ifconfig br-mesh hw ether $ROUTERMAC
|
||||||
ifconfig br-mesh up
|
ifconfig br-mesh up
|
||||||
/etc/init.d/network restart
|
/etc/init.d/network restart
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue