summaryrefslogtreecommitdiff
blob: 5e1862b3a14b07d6b16fea8afba9ea7f937f2b3e (plain)
1
2
3
4
5
6
7
#! /bin/sh
exec 2> /dev/null

/bin/ip addr del "$2"/"$3" dev "$1"

# or alternatively:
# /sbin/ifconfig "$1":254 down