cssid=$(nmcli -t -f IN-USE,SSID device wifi list | grep '^\*' | awk -F':' '{print $2}') [ "WCS-BYOT" = "$cssid" ]