summarylogtreecommitdiffstats
path: root/60-vboxdrv.rules
diff options
context:
space:
mode:
authorDaniel Bermond2020-09-05 11:57:17 +0000
committerDaniel Bermond2020-09-05 11:57:17 +0000
commit166ae9ec9fc762d8a6561ab9547170c643f35918 (patch)
treede9f50116c32a04ffdf90f7ce11dd790ecf16380 /60-vboxdrv.rules
parenta92486e4ad8c06ded21573b245788db18e14e021 (diff)
downloadaur-166ae9ec9fc762d8a6561ab9547170c643f35918.tar.gz
Major rewrite
changes: - added split packages for sdk and guest iso (this will significantly reduce the size of the main virtualbox-bin package, while allowing users to install only the needed additional components) - added components: modules reload script, rdesktop-vrdp and web service - fixed symlinks of VBox executables in /usr/bin (now they correctly point to the 'VBox.sh' executable dispatcher) - fixed install of virtualbox.svg scalable icon - updated udev rules - removed obsolete files - removed rdesktop-vrdp packed sources - removed unneeded version from the configuration file vbox.cfg - removed unneeded makedepends, depends and optdepends to conform with the DKMS package guidelines from the Arch Wiki - cosmetic changes
Diffstat (limited to '60-vboxdrv.rules')
-rw-r--r--60-vboxdrv.rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/60-vboxdrv.rules b/60-vboxdrv.rules
new file mode 100644
index 000000000000..95d515b06bc5
--- /dev/null
+++ b/60-vboxdrv.rules
@@ -0,0 +1,8 @@
+KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
+KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="root", MODE="0666"
+KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="root", MODE="0600"
+
+SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
+SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
+SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
+SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"