wok-current rev 2784

slitaz-eeepc: Dont start wifi by default (can freez the boot)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 27 21:51:07 2009 +0200 (2009-04-27)
parents f560002068fe
children e7be6cf6d0eb
files slitaz-eeepc/stuff/tazeee
line diff
     1.1 --- a/slitaz-eeepc/stuff/tazeee	Mon Apr 27 21:47:16 2009 +0200
     1.2 +++ b/slitaz-eeepc/stuff/tazeee	Mon Apr 27 21:51:07 2009 +0200
     1.3 @@ -85,11 +85,9 @@
     1.4  		/etc/rcS.conf
     1.5  }
     1.6  
     1.7 -# Active wifi interface it will be configured by network.sh and config 
     1.8 -# LXpanel.
     1.9 -active_wifi()
    1.10 +# Congig LXpanel.
    1.11 +config_wifi()
    1.12  {
    1.13 -	sed -i s/'WIFI="no"'/'WIFI="yes"'/ /etc/network.conf
    1.14  	sed -i s/'iface=eth0'/"iface=$WIFI_INTERFACE"/ \
    1.15  		/etc/lxpanel/default/panels/panel
    1.16  }
    1.17 @@ -145,7 +143,7 @@
    1.18  		get_model
    1.19  		model_config
    1.20  		load_modules
    1.21 -		[ -n $WIFI_INTERFACE ] && active_wifi
    1.22 +		[ -n $WIFI_INTERFACE ] && config_wifi
    1.23  		echo "EeePC setup completed..." ;;
    1.24  	box)
    1.25  		box ;;