wuut
This commit is contained in:
+3
-2
@@ -21,7 +21,7 @@ send_discord_webhook() {
|
||||
|
||||
while true; do #infinite loop
|
||||
# scan for those vendor ids
|
||||
blescan=$(eval "bluetoothctl -t 10 scan on | awk '{print \$3}' | grep ${vendor_ids[@]/#/-e })"
|
||||
blescan=$(eval "bluetoothctl -t 10 scan on | awk '{print \$3}' | grep ${vendor_ids[@]/#/-e }")
|
||||
if [ -n "$blescan" ]; then
|
||||
# LE detected poweroff to cryptdisk and notify
|
||||
# alert spammmm
|
||||
@@ -29,6 +29,8 @@ while true; do #infinite loop
|
||||
send_discord_webhook "FUZZ" & # fork task to background to run more faster
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
# cryptsetup erase <device> # ion case you wanna nuke ur shit lmao
|
||||
## these options are powerful, silent, fast, aND RIsky
|
||||
# poweroff --poweroff --force --no-wall # --no-sync
|
||||
@@ -36,4 +38,3 @@ while true; do #infinite loop
|
||||
# else
|
||||
# sleep 1
|
||||
# fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user