diff --git a/usb-libvirt-hotplug.sh b/usb-libvirt-hotplug.sh index ddb315c..b12b521 100755 --- a/usb-libvirt-hotplug.sh +++ b/usb-libvirt-hotplug.sh @@ -64,6 +64,8 @@ if [ -z "${ACTION}" ]; then fi if [ "${ACTION}" == 'add' ]; then COMMAND='attach-device' +elif [ "${ACTION}" == 'bind' ]; then + COMMAND='attach-device' elif [ "${ACTION}" == 'remove' ]; then COMMAND='detach-device' else