Lines 323-329
Link Here
|
323 |
ESSIDVAR=$( bash_variable "${ESSID}" ) |
323 |
ESSIDVAR=$( bash_variable "${ESSID}" ) |
324 |
save_options "ESSID" "${ESSID}" |
324 |
save_options "ESSID" "${ESSID}" |
325 |
|
325 |
|
326 |
local -a status=( "$( wpa_cli -i${iface} status | sed -n -e 's/^\(bssid\|pairwise_cipher\|key_mgmt\)=\([^=]\+\).*/\U\2/p' | tr '[:lower:]' '[:upper:]' )" ) |
326 |
local -a status=( $( wpa_cli -i${iface} status | sed -n -e 's/^\(bssid\|pairwise_cipher\|key_mgmt\)=\([^=]\+\).*/\"\U\2\"/p' | tr '[:lower:]' '[:upper:]' ) ) |
327 |
einfo "${iface} connected to \"${ESSID//\\\\/\\\\}\" at ${status[0]}" |
327 |
einfo "${iface} connected to \"${ESSID//\\\\/\\\\}\" at ${status[0]}" |
328 |
|
328 |
|
329 |
if [[ ${status[2]} == "NONE" ]]; then |
329 |
if [[ ${status[2]} == "NONE" ]]; then |