slitaz-boot-scripts rev 156

network.sh: speed up udhcp lease time
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 26 01:14:33 2009 +0200 (2009-04-26)
parents 965cc9d8722a
children 3ff9c5179331
files etc/init.d/network.sh
line diff
     1.1 --- a/etc/init.d/network.sh	Wed Apr 22 21:57:26 2009 +0200
     1.2 +++ b/etc/init.d/network.sh	Sun Apr 26 01:14:33 2009 +0200
     1.3 @@ -101,7 +101,7 @@
     1.4  	# For a dynamic IP with DHCP.
     1.5  	if [ "$DHCP" = "yes" ] ; then
     1.6  		echo "Starting udhcpc client on: $INTERFACE... "
     1.7 -		/sbin/udhcpc -b -i $INTERFACE -p /var/run/udhcpc.$INTERFACE.pid
     1.8 +		/sbin/udhcpc -b -T 1 -A 12 -i $INTERFACE -p /var/run/udhcpc.$INTERFACE.pid
     1.9  	fi
    1.10  
    1.11  	# For a static IP.