Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Specify new location for lsusb.

- Fix script error claiming lsusb is missin, since it's now usually
  found in /usr/bin rather than /usr/sbin.
- This is a hack. The script should be smarter about finding lsusb while
  still only using trusted binaries rather than just searching the PATH.
  • Loading branch information...
commit bdc17d06fb884d142a3ef521de995d5a31230666 1 parent 7c32869
@CodeGnome authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  udev_rulegen.sh
View
2  udev_rulegen.sh
@@ -26,7 +26,7 @@ ask_device () {
declare -a devices
while read; do
devices[${#devices[*]}]="$REPLY"
- done < <( /usr/sbin/lsusb | /usr/bin/cut -d' ' -f6- )
+ done < <( /usr/bin/lsusb | /usr/bin/cut -d' ' -f6- )
PS3='Select your smartcard reader (q = quit): '
select device in "${devices[@]}"; do
[[ $REPLY == q ]] && exit
Please sign in to comment.
Something went wrong with that request. Please try again.