rfkill bluetooth line

master
RightToPrivacy 2023-03-20 00:10:39 -04:00
parent 4078c9df47
commit d28d7728b0
1 changed files with 1 additions and 1 deletions

2
wipri
View File

@ -283,7 +283,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
#rfkill block bluetooth # 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