Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (10 sloc) 202 Bytes
#!/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=1
/sbin/udhcpc -t $retries -n -i "$interface" -s /etc/udhcpc-script