VirtualBox

Ignore:
Timestamp:
Mar 24, 2009 2:04:45 PM (16 years ago)
Author:
vboxsync
Message:

load.sh: unload VBoxNetAdp too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/load.sh

    r16754 r18182  
    7676fi
    7777
     78# Make sure VBoxNetAdp is unloaded as it might be using symbols from us.
     79LOADED=`kextstat -b org.virtualbox.kext.VBoxNetAdp -l`
     80if test -n "$LOADED"; then
     81    echo "load.sh: Unloading org.virtualbox.kext.VBoxNetAdp..."
     82    sudo kextunload -v 6 -b org.virtualbox.kext.VBoxNetAdp
     83    LOADED=`kextstat -b org.virtualbox.kext.VBoxNetAdp -l`
     84    if test -n "$LOADED"; then
     85        echo "load.sh: failed to unload org.virtualbox.kext.VBoxNetAdp, see above..."
     86        exit 1;
     87    fi
     88    echo "load.sh: Successfully unloaded org.virtualbox.kext.VBoxNetAdp"
     89fi
     90
    7891# Try unload any existing instance first.
    7992LOADED=`kextstat -b $BUNDLE -l`
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