VirtualBox

Changeset 39761 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 12, 2012 3:05:44 PM (13 years ago)
Author:
vboxsync
Message:

Additions/solaris/Installer: fix 4.1.8 regression with driver loading (public #10113)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/Installer/vboxguest.sh

    r39235 r39761  
    9696start_module()
    9797{
    98     if vboxguest_loaded; then
    99         info "VirtualBox guest kernel module already loaded."
     98    /usr/sbin/add_drv -i'pci80ee,cafe' -m'* 0666 root sys' $MODNAME
     99    if test ! vboxguest_loaded; then
     100        abort "Failed to load VirtualBox guest kernel module."
     101    elif test -c "/devices/pci@0,0/pci80ee,cafe@4:$MODNAME"; then
     102        info "VirtualBox guest kernel module loaded."
    100103    else
    101         /usr/sbin/add_drv -i'pci80ee,cafe' -m'* 0666 root sys' $MODNAME
    102         sync
    103         if test ! vboxguest_loaded; then
    104             abort "Failed to load VirtualBox guest kernel module."
    105         elif test -c "/devices/pci@0,0/pci80ee,cafe@4:$MODNAME"; then
    106             info "VirtualBox guest kernel module loaded."
    107         else
    108             abort "Aborting due to attach failure."
    109         fi
     104        abort "Aborting due to attach failure."
    110105    fi
    111106}
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