dvp/qvm-usb: fix backend install script to ignore some errors

This commit is contained in:
Alexandre Bezroutchko 2012-10-10 22:59:27 +02:00
parent 24959d014b
commit 6ea64365bb

View File

@ -12,9 +12,9 @@ cp misc/usb_remove /usr/lib/qubes/usb_remove
cp misc/qubes_usb.rules /etc/udev/rules.d/99-qubes_usb.rules
# Reload PVUSB backend and cleanup xenstore
rmmod xen-usbback || true
rmmod xen-usbback > /dev/null 2>&1 || true
modprobe xen-usbback
xenstore-rm qubes-usb-devices
xenstore-rm qubes-usb-devices > /dev/null 2>&1 || true
# Configure udevd and make it re-populate xenstore
udevadm control --reload-rules