#
#	Script to configure the adapter.
#

#
#	Usage : ./configure_adapter <interface> <ip-address>
#

Usage() 
{ 
	echo "Usage : ./configure_adapter <interface> <ip-address>"
	exit 1
} 


if [ $# -ne 2 ] 
then
	Usage
fi

interface=$1
ipaddr=$2

ifconfig $interface plumb
ifconfig $interface $ipaddr
ifconfig $interface up
