Jan Engelhardt
9953038bec
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=747
8 lines
335 B
Bash
8 lines
335 B
Bash
#!/bin/bash
|
|
# script to disable USB passthru in /etc/udev/rules.d/60-vboxdrv.rules
|
|
# if already disabled, clear the comment character
|
|
sed -i 's/#SUBSYSTEM==\"usb/SUBSYSTEM==\"usb/' /usr/lib/udev/rules.d/60-vboxdrv.rules
|
|
# now comment the usb lines
|
|
sed -i 's/SUBSYSTEM==\"usb/#SUBSYSTEM==\"usb/' /usr/lib/udev/rules.d/60-vboxdrv.rules
|
|
|