Report comment

Hi,

thank you for this helpful update of your script!

But short note about the loop:

If you use multiple ssids ('mySSID1' 'mySSID2' 'mySSID3') then the result of your loop will end with ssidChk='NoSSid' even if mySSID1 or mySSID2 are in range but mySSID3 is not.

So I think you have to insert a break into the loop right after "ssidChk=$ssid".

Furthermore, you could parse your wpa_supplicant.conf and scan for the ssid= entries and write the results to the $ssids variable. Just an idea ...

Cheers,
Tino