Changeset 34923 in vbox
- Timestamp:
- Dec 9, 2010 8:02:00 PM (14 years ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/debian/postinst.in
r34679 r34923 68 68 fi 69 69 usb_createnode="/usr/share/virtualbox/VBoxCreateUSBNode.sh" 70 echo "SUBSYSTEM=${udev_fix}\"usb_device\", ACTION=${udev_fix}\"add\", RUN= ${usb_createnode} \$major \$minor \$attr{bDeviceClass}\"" ${usb_group}\70 echo "SUBSYSTEM=${udev_fix}\"usb_device\", ACTION=${udev_fix}\"add\", RUN=\"${usb_createnode} \$major \$minor \$attr{bDeviceClass} ${usb_group}\"" \ 71 71 >> /etc/udev/rules.d/10-vboxdrv.rules 72 echo "SUBSYSTEM=${udev_fix}\"usb\", ACTION=${udev_fix}\"add\", ENV{DEVTYPE}==\"usb_device\", RUN= ${usb_createnode} \$major \$minor \$attr{bDeviceClass}\"" ${usb_group}\72 echo "SUBSYSTEM=${udev_fix}\"usb\", ACTION=${udev_fix}\"add\", ENV{DEVTYPE}==\"usb_device\", RUN=\"${usb_createnode} \$major \$minor \$attr{bDeviceClass} ${usb_group}\"" \ 73 73 >> /etc/udev/rules.d/10-vboxdrv.rules 74 echo "SUBSYSTEM=${udev_fix}\"usb_device\", ACTION=${udev_fix}\"remove\", RUN= ${usb_createnode} --remove \$major \$minor\"" \74 echo "SUBSYSTEM=${udev_fix}\"usb_device\", ACTION=${udev_fix}\"remove\", RUN=\"${usb_createnode} --remove \$major \$minor\"" \ 75 75 >> /etc/udev/rules.d/10-vboxdrv.rules 76 echo "SUBSYSTEM=${udev_fix}\"usb\", ACTION=${udev_fix}\"remove\", ENV{DEVTYPE}==\"usb_device\", RUN= ${usb_createnode} --remove \$major \$minor\"" \76 echo "SUBSYSTEM=${udev_fix}\"usb\", ACTION=${udev_fix}\"remove\", ENV{DEVTYPE}==\"usb_device\", RUN=\"${usb_createnode} --remove \$major \$minor\"" \ 77 77 >> /etc/udev/rules.d/10-vboxdrv.rules 78 78 fi -
trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
r34773 r34923 240 240 echo "KERNEL=${udev_fix}\"vboxdrv\", NAME=\"vboxdrv\", OWNER=\"root\", GROUP=\"root\", MODE=\"0600\"" \ 241 241 > /etc/udev/rules.d/10-vboxdrv.rules 242 echo "SUBSYSTEM=${udev_fix}\"usb_device\", ACTION=${udev_fix}\"add\", RUN= ${usb_createnode} \$major \$minor \$attr{bDeviceClass}\"" \242 echo "SUBSYSTEM=${udev_fix}\"usb_device\", ACTION=${udev_fix}\"add\", RUN=\"${usb_createnode} \$major \$minor \$attr{bDeviceClass}\"" \ 243 243 >> /etc/udev/rules.d/10-vboxdrv.rules 244 echo "SUBSYSTEM=${udev_fix}\"usb\", ACTION=${udev_fix}\"add\", ENV{DEVTYPE}==\"usb_device\", RUN= ${usb_createnode} \$major \$minor \$attr{bDeviceClass}\"" \244 echo "SUBSYSTEM=${udev_fix}\"usb\", ACTION=${udev_fix}\"add\", ENV{DEVTYPE}==\"usb_device\", RUN=\"${usb_createnode} \$major \$minor \$attr{bDeviceClass}\"" \ 245 245 >> /etc/udev/rules.d/10-vboxdrv.rules 246 echo "SUBSYSTEM=${udev_fix}\"usb_device\", ACTION=${udev_fix}\"remove\", RUN= ${usb_createnode} --remove \$major \$minor\"" \246 echo "SUBSYSTEM=${udev_fix}\"usb_device\", ACTION=${udev_fix}\"remove\", RUN=\"${usb_createnode} --remove \$major \$minor\"" \ 247 247 >> /etc/udev/rules.d/10-vboxdrv.rules 248 echo "SUBSYSTEM=${udev_fix}\"usb\", ACTION=${udev_fix}\"remove\", ENV{DEVTYPE}==\"usb_device\", RUN= ${usb_createnode} --remove \$major \$minor\"" \248 echo "SUBSYSTEM=${udev_fix}\"usb\", ACTION=${udev_fix}\"remove\", ENV{DEVTYPE}==\"usb_device\", RUN=\"${usb_createnode} --remove \$major \$minor\"" \ 249 249 >> /etc/udev/rules.d/10-vboxdrv.rules 250 250 fi
Note:
See TracChangeset
for help on using the changeset viewer.