diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2011-06-19 22:37:33 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-06-19 22:37:33 -0500 |
commit | 3313f5ee24fd63bda0a91aa8afb654834d5b4ed4 (patch) | |
tree | 87184f1edd3e7900bbd115f18ee9ff7c6eaacfb2 /system/virtualbox/10-virtualbox.rules | |
parent | ff3304e00f29d4ec63deaa1f116c53fcc2527c2f (diff) | |
download | slackbuilds-3313f5ee24fd63bda0a91aa8afb654834d5b4ed4.tar.gz |
system/virtualbox: Updated for version 4.0.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/virtualbox/10-virtualbox.rules')
-rw-r--r-- | system/virtualbox/10-virtualbox.rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/virtualbox/10-virtualbox.rules b/system/virtualbox/10-virtualbox.rules new file mode 100644 index 0000000000..f85b183064 --- /dev/null +++ b/system/virtualbox/10-virtualbox.rules @@ -0,0 +1,5 @@ +KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660" +SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" +SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" +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" |