/[baselayout]/trunk/net-scripts/net.modules.d/iwconfig
Gentoo

Diff of /trunk/net-scripts/net.modules.d/iwconfig

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1941 Revision 1942
543 543
544 # We need to do the for loop like this so we can 544 # We need to do the for loop like this so we can
545 # dynamically remove from the array 545 # dynamically remove from the array
546 eindent 546 eindent
547 for ((i=0; i<${#mac_APs[@]}; i++)); do 547 for ((i=0; i<${#mac_APs[@]}; i++)); do
548 k="" 548 k="(${mode_APs[i]}"
549 [[ ${enc_APs[i]} == "yes" ]] && k="(WEP required)" 549 [[ ${enc_APs[i]} != "off" ]] && k="${k}, encrypted"
550 k="${k})"
550 551
551 if [[ -z ${essid_APs[i]} ]]; then 552 if [[ -z ${essid_APs[i]} ]]; then
552 veinfo "Found ${mac_APs[i]} ${k}" 553 veinfo "Found ${mac_APs[i]} ${k}"
553 else 554 else
554 veinfo "Found \"${essid_APs[i]//\\\\/\\\\}\" at ${mac_APs[i]} ${k}" 555 veinfo "Found \"${essid_APs[i]//\\\\/\\\\}\" at ${mac_APs[i]} ${k}"

Legend:
Removed from v.1941  
changed lines
  Added in v.1942

  ViewVC Help
Powered by ViewVC 1.1.20