- Timestamp:
- May 27, 2008 11:18:31 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/solaris/mod.sh
r8025 r9153 50 50 echo "* If it fails below, run: $SUDO add_drv -m'* 0666 root sys' vboxdrv" 51 51 fi 52 if ! 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' 59 else 60 echo "* vboxdrv already present in /etc/devlink.tab" 61 fi 62 52 63 echo "* loading vboxdrv..." 53 64 sync … … 57 68 echo "* dmesg:" 58 69 dmesg | tail -20 59 $SUDO chmod a+rw /devices/pseudo/vboxdrv*60 70 if test ! -h /dev/vboxdrv; then 61 ln -s "/devices/pseudo/vboxdrv@0:vboxdrv" /dev/vboxdrv71 $SUDO /usr/sbin/devfsadm -i vboxdrv 62 72 fi 63 73
Note:
See TracChangeset
for help on using the changeset viewer.