ble line
parent
0672cc3d91
commit
4f78937615
1
wipri
1
wipri
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue