diff options
Diffstat (limited to 'main/ucarp/vip-down-default.sh')
-rw-r--r-- | main/ucarp/vip-down-default.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/ucarp/vip-down-default.sh b/main/ucarp/vip-down-default.sh new file mode 100644 index 0000000000..cf5bfe5ce3 --- /dev/null +++ b/main/ucarp/vip-down-default.sh @@ -0,0 +1,7 @@ +#! /bin/sh +exec 2> /dev/null + +/sbin/ip addr del "$2"/"$3" dev "$1" + +# or alternatively: +# /sbin/ifconfig "$1":254 down |