Changeset 2171


Ignore:
Timestamp:
Sep 19, 2012, 3:25:13 PM (7 years ago)
Author:
matthijs
Message:

madwifi: Don't do any configuration when ssid is "off" or empty.

This commit is similar to r2042, which did the same for ra_wifi.

This prevents an issue when the Fonera boots when no internet connection is
available, which prevents the chillispot initscript from running (which
normally takes care of bringing down the public interface when sharing is
disabled). Now, the interface is not brought up until it should be.

References: #1091

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fon/madwifi/files/lib/wifi/madwifi.sh

    r2008 r2171  
    169169                esac
    170170                config_get ssid "$vif" ssid
     171               
     172                # Skip vifs with no ssid
     173                [ -z "$ssid" -o "$ssid" = "off" ] && continue
    171174
    172175                config_get_bool bgscan "$vif" bgscan
Note: See TracChangeset for help on using the changeset viewer.