slitaz-boot-scripts diff etc/init.d/network.sh @ rev 231
rc.shutdown: Shutdown much faster
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 24 18:49:47 2011 +0100 (2011-02-24) |
parents | bb7387c4767e |
children | b6f5f37beaa3 |
line diff
1.1 --- a/etc/init.d/network.sh Wed Apr 07 20:56:00 2010 +0200 1.2 +++ b/etc/init.d/network.sh Thu Feb 24 18:49:47 2011 +0100 1.3 @@ -144,7 +144,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 - if [ -d /var/run/wpa_supplicant ]; then # wpa wireless && wpa_ctrl_open interface is up 1.8 + if [ -d /var/run/wpa_supplicant ] && [ "$WIFI" = "yes" ]; then # wpa wireless && wpa_ctrl_open interface is up 1.9 wpa 1.10 else # fallback on udhcpc: wep, eth 1.11 /sbin/udhcpc -b -T 1 -A 12 -i $INTERFACE -p /var/run/udhcpc.$INTERFACE.pid