forked from ports/contrib
5 lines
555 B
Plaintext
5 lines
555 B
Plaintext
SUBSYSTEM=="usb_device", ACTION=="add", RUN="/usr/share/virtualbox/bin/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
|
|
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN="/usr/share/virtualbox/bin/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
|
|
SUBSYSTEM=="usb_device", ACTION=="remove", RUN="/usr/share/virtualbox/bin/VBoxCreateUSBNode.sh --remove $major $minor"
|
|
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN="/usr/share/virtualbox/bin/VBoxCreateUSBNode.sh --remove $major $minor"
|