thiiiink i fixed both sh

This commit is contained in:
2026-04-26 21:11:23 -06:00
parent cab036b9bf
commit c029c0ffde
4 changed files with 61 additions and 4 deletions
@@ -22,8 +22,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