slitaz-boot-scripts diff etc/init.d/network.sh @ rev 385

Do not depend on /etc/slitaz/applications.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 10 13:35:51 2015 +0100 (2015-01-10)
parents b2ca17642fab
children 6c2d6362887d
line diff
     1.1 --- a/etc/init.d/network.sh	Sat Feb 15 20:13:56 2014 +0100
     1.2 +++ b/etc/init.d/network.sh	Sat Jan 10 13:35:51 2015 +0100
     1.3 @@ -34,7 +34,7 @@
     1.4  # For wifi. Users just have to enable it through yes and usually
     1.5  # essid any will work and the interface is autodetected.
     1.6  wifi() {
     1.7 -	if [ "$WIFI" = "yes" ] || fgrep -q "wifi" /proc/cmdline; then
     1.8 +	if [ "$WIFI" == "yes" ]; then
     1.9  		ifconfig $INTERFACE down
    1.10  
    1.11  		# Confirm if $WIFI_INTERFACE is the wifi interface