blob: 47600765cd9c41f9bd0cebceda3ebedc76d476b4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
help: Disable interface
update:
if [ -d /sys/class/net/$VAR(../@) ] ; then
ip link set $VAR(../@) down
fi
delete:
if [ -d /sys/class/net/$VAR(../@) ] ; then
ip link set $VAR(../@) up
fi
|