master
RightToPrivacy 2022-09-24 02:02:46 -04:00
parent 0672cc3d91
commit 4f78937615
1 changed files with 1 additions and 0 deletions

1
wipri
View File

@ -268,6 +268,7 @@ function watchdev() {
if [ "$dstatus" != "up" ]; then
echo -e "${GREEN}$netdev${ENDCOLOR} ${RED}VERIFIED AWAY${ENDCOLOR}\n" && sleep .5
echo -e "${BLUE}TURNING $netdev RADIO${ENDCOLOR} ${RED}OFF${ENDCOLOR} ${BLUE}to prevent (WiFi Probe Req) SSID leaks${ENDCOLOR}\n" && sleep .5
#systemctl stop bluetooth.service # delete the hash at beginning of line to turn off bluetooth as well
nmcli radio wifi off || echo -e "${RED}ERR FAILED TO TURN OFF RADIO - requires nmcli${ENDCOLOR}\n"
echo -e "${GREEN}TURNED WIFI RADIO${ENDCOLOR} ${RED}OFF${ENDCOLOR}"
continue 2