wok view udhcpc6-fake/stuff/sbin/udhcpc @ rev 12833
gettext: fix bdeps (now with cross-compilation we must be even more carefull in some cases)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 22 16:51:07 2012 +0200 (2012-05-22) |
parents | |
children | 02c70d036ea0 |
line source
1 #/bin/sh
3 INTERFACE=eth0
4 while [ -n "$1" ]; do
5 [ "$1" == "-i" ] && INTERFACE=$2
6 shift
7 done
9 exec /usr/sbin/dhclient -e IF_METRIC=100 \
10 -pf /var/run/dhclient.$INTERFACE.pid \
11 -lf /var/lib/dhcp3/dhclient.$INTERFACE.leases \
12 -cf /etc/dhclient.conf \
13 -sf /etc/dhclient-script \
14 $INTERFACE