#!/bin/sh # FIXME: Ignore USB hubs. [ "$DEVNUM" = "001" ] && exit 0 NAME="${BUSNUM}/${DEVNUM}" XS_KEY="qubes-usb-devices/$NAME" xenstore-rm "$XS_KEY"