VirtualBox

Changeset 14495 in vbox


Ignore:
Timestamp:
Nov 23, 2008 11:33:36 PM (16 years ago)
Author:
vboxsync
Message:

darwin/load.sh: Unload VBoxNetFlt too.

File:
1 edited

Legend:

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

    r10712 r14495  
    5858fi
    5959
     60# Make sure VBoxNetFlt is unloaded as it might be using symbols from us.
     61LOADED=`kextstat -b org.virtualbox.kext.VBoxNetFlt -l`
     62if test -n "$LOADED"; then
     63    echo "load.sh: Unloading org.virtualbox.kext.VBoxNetFlt..."
     64    sudo kextunload -v 6 -b org.virtualbox.kext.VBoxNetFlt
     65    LOADED=`kextstat -b org.virtualbox.kext.VBoxNetFlt -l`
     66    if test -n "$LOADED"; then
     67        echo "load.sh: failed to unload org.virtualbox.kext.VBoxNetFlt, see above..."
     68        exit 1;
     69    fi
     70    echo "load.sh: Successfully unloaded org.virtualbox.kext.VBoxNetFlt"
     71fi
     72
    6073# Try unload any existing instance first.
    6174LOADED=`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