You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/ucarp/files/vip-up-default.sh

8 lines
132 B

#! /bin/sh
exec 2> /dev/null
/sbin/ip addr add "$2"/"$3" dev "$1"
# or alternatively:
# /sbin/ifconfig "$1":254 "$2" netmask "$3"