#!/bin/sh

IFCONFIG=/sbin/ifconfig

${IFCONFIG} $1 | grep "inet addr:" | cut -f 2 -d ":" | cut -f 1 -d " "