VirtualBox

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


Ignore:
Timestamp:
Oct 16, 2008 5:50:01 PM (16 years ago)
Author:
vboxsync
Message:

Solaris/Installer: Fail on add_drv errors.

File:
1 edited

Legend:

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

    r13353 r13354  
    120120    else
    121121        if test -n "_HARDENED_"; then
    122             /usr/sbin/add_drv -m'* 0600 root sys' $MODNAME
    123         else
    124             /usr/sbin/add_drv -m'* 0666 root sys' $MODNAME
     122            /usr/sbin/add_drv -m'* 0600 root sys' $MODNAME || abort "Failed to load VirtualBox Host Kernel module."
     123        else
     124            /usr/sbin/add_drv -m'* 0666 root sys' $MODNAME || abort "Failed to load VirtualBox Host Kernel module."
    125125        fi
    126126        if test ! module_loaded; then
     
    155155        info "VirtualBox NetFilter kernel module already loaded."
    156156    else
    157         /usr/sbin/add_drv -m'* 0600 root sys' $FLTMODNAME || abort "Failed to load VirtualBox Host Kernel module."
     157        /usr/sbin/add_drv -m'* 0600 root sys' $FLTMODNAME || abort "Failed to load VirtualBox NetFilter Kernel module."
    158158        /usr/sbin/modload -p drv/$FLTMODNAME
    159159        if test ! vboxflt_module_loaded; then
     
    168168{
    169169    if vboxflt_module_loaded; then
    170         /usr/sbin/rem_drv $FLTMODNAME || abort "Failed to unload VirtualBox NetFilter module. Old one still active!"
     170        /usr/sbin/rem_drv $FLTMODNAME || abort "Failed to unload VirtualBox NetFilter kernel module. Old one still active!"
    171171        info "VirtualBox NetFilter kernel module unloaded."
    172172    elif test -z "$SILENTUNLOAD"; then
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