This commit is contained in:
2026-04-23 02:44:12 -06:00
parent b428d9b3d5
commit e0ff800662
2 changed files with 24 additions and 18 deletions
+1 -1
View File
@@ -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