bridge: remove hack for alpine vlan scripts (not relevant to us)
This commit is contained in:
parent
3d743f512f
commit
03528b01ad
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue