#!/bin/sh
if [ -z "$1" ] ; then
	echo usage: $0 [interface]
	echo i.e. $0 eth0
	echo i.e. $0 wlan0
	exit 1
fi
interface="$1"
retries=3
/bin/udhcpc -t $retries -n -i "$interface" -s /etc/udhcpc-script -x hostname=$(hostname)

