wuut
This commit is contained in:
1 parent
e4d2fcfe64
commit
3bb23b0511
1 file changed
+1
-1
+1
-1
@@ -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 -q ${vendor_ids[@]/#/-e }")
|
||||
if [ -n "$blescan" ]; then
|
||||
# LE detected poweroff to cryptdisk and notify
|
||||
# alert spammmm
|
||||
|
||||
Reference in new issue
Block a user