dom0+vm/usb: refactoring
This commit is contained in:
parent
c8fa6c44af
commit
bb35a6836f
@ -13,8 +13,7 @@
|
|||||||
[ "$DEVTYPE" != "usb_device" ] && exit 0
|
[ "$DEVTYPE" != "usb_device" ] && exit 0
|
||||||
|
|
||||||
# xenstore doesn't allow dot in key name
|
# xenstore doesn't allow dot in key name
|
||||||
NAME=`basename ${DEVPATH}`
|
XSNAME=`basename ${DEVPATH} | tr . _`
|
||||||
XSNAME=`echo ${NAME} | tr . _`
|
|
||||||
|
|
||||||
# FIXME: For some devices (my Cherry keyboard) ID_SERIAL does not
|
# FIXME: For some devices (my Cherry keyboard) ID_SERIAL does not
|
||||||
# contain proper human-readable name, should find better method to
|
# contain proper human-readable name, should find better method to
|
||||||
|
Loading…
Reference in New Issue
Block a user