allwinner_a64/android/external/libmtp/sync-usbids.sh
2018-08-08 16:14:42 +08:00

13 lines
365 B
Bash
Executable file

#!/bin/sh
# Script to compare the USB ID list from linux-usb
# with the internal list of libmtp.
WGET=`which wget`
if [ "x$WGET" != "x" ]; then
wget -O usb.ids http://www.linux-usb.org/usb.ids
examples/hotplug -i > usb.ids-libmtp
echo "OK now compare usb.ids and usb.ids-libmtp..."
else
echo "Could not sync to linux-usb USB ID list. No WGET."
fi