dom0/qvm-usb: implemented usb_check_attached method, now "qvm-usb -l" indicate attachments
This commit is contained in:
parent
0bd5fd797e
commit
de10323742
@ -5,7 +5,7 @@ d=/home/abb/qubes-core
|
|||||||
# Install
|
# Install
|
||||||
cp $d/misc/qubes_usb.rules /etc/udev/rules.d/99-qubes_usb.rules
|
cp $d/misc/qubes_usb.rules /etc/udev/rules.d/99-qubes_usb.rules
|
||||||
|
|
||||||
for f in usb_add_change usb_remove ; do
|
for f in usb_add_change usb_remove xl-qvm-usb-attach.py ; do
|
||||||
cp $d/misc/$f /usr/lib/qubes/$f
|
cp $d/misc/$f /usr/lib/qubes/$f
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -17,6 +17,6 @@ udevadm control --reload-rules
|
|||||||
# Rerun
|
# Rerun
|
||||||
xenstore-rm qubes-usb-devices
|
xenstore-rm qubes-usb-devices
|
||||||
udevadm trigger --action=change
|
udevadm trigger --action=change
|
||||||
sleep 1
|
#sleep 1
|
||||||
xenstore-ls -f qubes-usb-devices
|
#xenstore-ls -f qubes-usb-devices
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user