slitaz-boot-scripts rev 362 5.5.1
network.sh: remove old wifi bot opt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 02 13:40:34 2014 +0200 (2014-05-02) |
parents | b0b8423150c4 |
children | e78544dff848 |
files | etc/init.d/network.sh |
line diff
1.1 --- a/etc/init.d/network.sh Fri May 02 13:08:40 2014 +0200 1.2 +++ b/etc/init.d/network.sh Fri May 02 13:40:34 2014 +0200 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