aboutsummaryrefslogtreecommitdiffstats
path: root/main/ucarp/vip-down-default.sh
blob: cf5bfe5ce3a1c1e653aff7a0015ee41bbe9d7e64 (plain)
1
2
3
4
5
6
7
#! /bin/sh
exec 2> /dev/null

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

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