This commit is contained in:
2026-04-23 02:50:37 -06:00
parent bfad44dbcb
commit 5b11f01104
+1 -1
View File
@@ -21,7 +21,7 @@ send_discord_webhook() {
while true; do #infinite loop while true; do #infinite loop
# scan for those vendor ids # 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 if [ -n "$blescan" ]; then
# LE detected poweroff to cryptdisk and notify # LE detected poweroff to cryptdisk and notify
# alert spammmm # alert spammmm