6 lines
139 B
Bash
Executable file
6 lines
139 B
Bash
Executable file
SSID=$(iwconfig wlp1s0 | grep ESSID | sed -e 's/.*ESSID:"\(.*\)"/\1/' | xargs)
|
|
if [[ $SSID == "WIFIonICE" ]]; then
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|