summaryrefslogtreecommitdiffstats
path: root/debian/virtualbox.udev
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 03:01:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 03:01:54 +0000
commit0494175483c2d82f445ddca9cadb6ee6338e9f9c (patch)
tree336364dc245983722e34439ece449564e77ca286 /debian/virtualbox.udev
parentAdding upstream version 6.0.4-dfsg. (diff)
downloadvirtualbox-debian.tar.xz
virtualbox-debian.zip
Adding debian version 6.0.4-dfsg-7.debian/6.0.4-dfsg-7debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/virtualbox.udev4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/virtualbox.udev b/debian/virtualbox.udev
new file mode 100644
index 00000000..156358d8
--- /dev/null
+++ b/debian/virtualbox.udev
@@ -0,0 +1,4 @@
+SUBSYSTEM=="usb_device", ACTION=="add", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
+SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
+SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
+SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"