ecc812f350
Get rid of underscores in filenames, use dashes instead. This is first part of cleanup in filenames. "qubes_rpc" still untouched - will be in separate commit.
10 lines
179 B
Bash
Executable File
10 lines
179 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# FIXME: Ignore USB hubs.
|
|
[ "`echo $TYPE | cut -f1 -d/`" = "9" ] && exit 0
|
|
|
|
NAME=`basename ${DEVPATH} | tr . _`
|
|
XS_KEY="qubes-usb-devices/$NAME"
|
|
|
|
xenstore-rm "$XS_KEY"
|