--- examples/bsd/vip-down.sh.orig 2006-05-27 20:38:40.000000000 +0000 +++ examples/bsd/vip-down.sh 2010-05-30 20:40:19.000000000 +0000 @@ -1,4 +1,21 @@ #! /bin/sh + +if [ -z "$1" -o -z "$2" ]; then + cat < /dev/null /sbin/ifconfig "$1" -alias "$2" + +if [ ! -z "$3" ]; then + /sbin/ifconfig "$3" alias "$2" netmask 255.255.255.255 +fi