summaryrefslogtreecommitdiff
path: root/package/base-files/extra/etc/network/if-post-down.d/02-vlan
blob: e448a7641c5ecfc00072fa7625d121683016529d (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
  
[ -x /sbin/vconfig ] || exit 0

[ -e /proc/net/vlan/$IFACE ] && (
	ip link set down dev $IFACE 
	vconfig rem $IFACE
)

exit 0