rfkill bluetooth line
parent
4078c9df47
commit
d28d7728b0
2
wipri
2
wipri
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue