aboutsummaryrefslogtreecommitdiffstats
path: root/main/vlan/vlan.post-down
blob: 33098fd62968f9fbab5022212b3532eb4a8f6310 (plain)
1
2
3
4
5
6
#!/bin/sh
set -eu

if [ -e "/proc/net/vlan/${IFACE}" ]; then
	ip link delete dev "${IFACE}" type vlan
fi