VirtualBox

Changeset 9153 in vbox for trunk


Ignore:
Timestamp:
May 27, 2008 11:18:31 AM (17 years ago)
Author:
vboxsync
Message:

Made it work again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/solaris/mod.sh

    r8025 r9153  
    5050    echo "* If it fails below, run: $SUDO add_drv -m'* 0666 root sys' vboxdrv"
    5151fi
     52if ! grep -q vboxdrv /etc/devlink.tab; then
     53    echo "* Adding vboxdrv to /etc/devlink.tab"
     54    $SUDO rm -f /tmp/devlink.tab.vboxdrv
     55    echo "" > /tmp/devlink.tab.vboxdrv
     56    echo '# vbox' >> /tmp/devlink.tab.vboxdrv
     57    echo 'type=ddi_pseudo;name=vboxdrv  \D' >> /tmp/devlink.tab.vboxdrv
     58    $SUDO /bin/sh -c 'cat /tmp/devlink.tab.vboxdrv >> /etc/devlink.tab'
     59else
     60    echo "* vboxdrv already present in /etc/devlink.tab"
     61fi
     62
    5263echo "* loading vboxdrv..."
    5364sync
     
    5768echo "* dmesg:"
    5869dmesg | tail -20
    59 $SUDO chmod a+rw /devices/pseudo/vboxdrv*
    6070if test ! -h /dev/vboxdrv; then
    61     ln -s "/devices/pseudo/vboxdrv@0:vboxdrv" /dev/vboxdrv
     71    $SUDO /usr/sbin/devfsadm -i vboxdrv
    6272fi
    6373
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette