diff options
author | Manuel Munz <freifunk@somakoma.de> | 2013-01-13 08:35:18 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2013-01-13 08:35:18 +0000 |
commit | 090c8ffcfd465b88c8e41fd324e7972544b19ba2 (patch) | |
tree | 5fd2d92f26ed3af7ef0b17f176df6e18970a3fbe /contrib/package | |
parent | 73b0c8a5f22b88d9b87ff9cf567af456e5f6a20a (diff) |
contrib/meshwizard: Up the wlan interface before checking for VAP capabilities
Diffstat (limited to 'contrib/package')
-rwxr-xr-x | contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_wifi.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_wifi.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_wifi.sh index 9d1bce3e6c..34bd0cbb03 100755 --- a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_wifi.sh +++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_wifi.sh @@ -81,6 +81,10 @@ uci_commitverbose "Setup wifi interface for $netrenamed" wireless ip4addr="$(uci get meshwizard.netconfig.$net\_ip4addr)" # check if this hardware supports VAPs +# the interface needs to be up before the check can happen + +/sbin/wifi + supports_vap="0" $dir/helpers/supports_vap.sh $net $type && supports_vap=1 |