# HG changeset patch # User Christophe Lincoln # Date 1399030834 -7200 # Node ID aea6cf6b8a5b36c5789786ab22e5aa46f0509738 # Parent b0b8423150c4c30de0822c685504e413307dac28 network.sh: remove old wifi bot opt diff -r b0b8423150c4 -r aea6cf6b8a5b etc/init.d/network.sh --- a/etc/init.d/network.sh Fri May 02 13:08:40 2014 +0200 +++ b/etc/init.d/network.sh Fri May 02 13:40:34 2014 +0200 @@ -34,7 +34,7 @@ # For wifi. Users just have to enable it through yes and usually # essid any will work and the interface is autodetected. wifi() { - if [ "$WIFI" = "yes" ] || fgrep -q "wifi" /proc/cmdline; then + if [ "$WIFI" == "yes" ]; then ifconfig $INTERFACE down # Confirm if $WIFI_INTERFACE is the wifi interface