diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-05-03 06:34:49 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-05-03 06:34:49 +0000 |
commit | 119c3b8fbaf9ea55abedcd39c0bf24b2c92b7555 (patch) | |
tree | 56d9d7b4955c9bcc79b80e72c4e8f2887e4d6771 /main/ucarp/vip-down-default.sh | |
parent | 4a6f7e78fa74293fc8059299bd1114b352b0ca51 (diff) | |
download | aports-119c3b8fbaf9ea55abedcd39c0bf24b2c92b7555.tar.bz2 aports-119c3b8fbaf9ea55abedcd39c0bf24b2c92b7555.tar.xz |
main/ucarp: sync initscript with gentoo
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 |