bridge: remove hack for alpine vlan scripts (not relevant to us)

This commit is contained in:
Ariadne Conill 2020-10-14 21:59:25 -06:00 committed by Maximilian Wilhelm
parent 3d743f512f
commit 03528b01ad

View file

@ -52,9 +52,6 @@ all_ports() {
add_ports() { add_ports() {
local port= local port=
for port in $PORTS; do for port in $PORTS; do
if [ -x /etc/network/if-pre-up.d/vlan ]; then
env IFACE=$port /etc/network/if-pre-up.d/vlan
fi
if [ -n "$IF_BRIDGE_HW" ]; then if [ -n "$IF_BRIDGE_HW" ]; then
ip link set dev $port addr $IF_BRIDGE_HW ip link set dev $port addr $IF_BRIDGE_HW
fi fi
@ -67,9 +64,6 @@ del_ports() {
for port in $PORTS; do for port in $PORTS; do
ip link set dev $port down ip link set dev $port down
ip link set dev $port nomaster ip link set dev $port nomaster
if [ -x /etc/network/ip-post-down.d/vlan ]; then
env IFACE=$port /etc/network/if-post-down.d/vlan
fi
done done
} }