mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-28 19:31:19 +08:00
pm3 without udev: change detection routine
This commit is contained in:
parent
bca9326684
commit
bc767f167f
1 changed files with 1 additions and 1 deletions
2
pm3
2
pm3
|
@ -39,7 +39,7 @@ function get_pm3_list_Linux {
|
|||
fi
|
||||
fi
|
||||
else
|
||||
if grep -q "PRODUCT=9ac4/4b8f" "/sys/class/tty/${DEV#/dev/}/../../uevent" 2>/dev/null; then
|
||||
if grep -q "proxmark.org" "/sys/class/tty/${DEV#/dev/}/../../../manufacturer" 2>/dev/null; then
|
||||
PM3LIST+=("$DEV")
|
||||
if [ ${#PM3LIST[*]} -ge $N ]; then
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue