VirtualBox

Changeset 26852 in vbox for trunk/src/VBox/Installer/solaris


Ignore:
Timestamp:
Feb 26, 2010 1:52:34 PM (15 years ago)
Author:
vboxsync
Message:

Solaris/Installer: fixed regression caused by r58016

File:
1 edited

Legend:

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

    r26760 r26852  
    351351install_drivers()
    352352{
    353     if test -n "_HARDENED_"; then
    354         add_driver "$MOD_VBOXDRV" "$DESC_VBOXDRV" "$FATALOP" "not-$NULLOP" "'* 0600 root sys'"
     353    if test -f "$DIR_CONF/vboxdrv.conf"; then
     354        if test -n "_HARDENED_"; then
     355            add_driver "$MOD_VBOXDRV" "$DESC_VBOXDRV" "$FATALOP" "not-$NULLOP" "'* 0600 root sys'"
     356        else
     357            add_driver "$MOD_VBOXDRV" "$DESC_VBOXDRV" "$FATALOP" "not-$NULLOP" "'* 0666 root sys'"
     358        fi
     359        load_module "drv/$MOD_VBOXDRV" "$DESC_VBOXDRV" "$FATALOP"
    355360    else
    356         add_driver "$MOD_VBOXDRV" "$DESC_VBOXDRV" "$FATALOP" "not-$NULLOP" "'* 0666 root sys'"
    357     fi
    358     load_module "drv/$MOD_VBOXDRV" "$DESC_VBOXDRV" "$FATALOP"
     361        errorprint "Extreme error! Missing $DIR_CONF/vboxdrv.conf, aborting."
     362        return 1
     363    fi
    359364
    360365    # Add vboxdrv to devlink.tab
     
    718723            ;;
    719724        *)
    720             errorprint "Invalid operation: $1"
    721             exit 1
     725            break
    722726            ;;
    723727    esac
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