10-switch: fix for EG300 wan port ref #13048

This commit is contained in:
Reidar Cederqvist 2017-10-13 10:35:07 +02:00
parent 8b211d1fa9
commit 6e64075198

View file

@ -1,5 +1,11 @@
. /lib/network/config.sh . /lib/network/config.sh
# FIX: for EG300 WAN port for release 3.13.1 - 4.x
if [ "$INTERFACE" == "eth2" ]; then
touch /var/update.eth2
fi
# end FIX
addif() { addif() {
# check if wan had a event and start all related services # check if wan had a event and start all related services
wan=`uci -q get layer2_interface_ethernet.Wan.baseifname` wan=`uci -q get layer2_interface_ethernet.Wan.baseifname`