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

Added tag 5.6.6 for changeset ecf17d3e06f4
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 11 11:12:35 2015 +0100 (2015-01-11)
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	Sun Jan 11 11:12:35 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