02-vlan 139 B

12345678910
  1. #!/bin/sh
  2. [ -x /sbin/vconfig ] || exit 0
  3. [ -e /proc/net/vlan/$IFACE ] && (
  4. ip link set down dev $IFACE
  5. vconfig rem $IFACE
  6. )
  7. exit 0