Changeset 8102 in vbox
- Timestamp:
- Apr 17, 2008 2:29:43 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 29803
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/darwin/load.sh
r8092 r8102 41 41 fi 42 42 43 trap "sudo chown -R `whoami` $DIR; exit 1" INT 43 # Make sure VBoxUSB is unloaded as it might be using symbols from us. 44 LOADED=`kextstat -b org.virtualbox.kext.VBoxUSB -l` 45 if test -n "$LOADED"; then 46 echo "load.sh: Unloading org.virtualbox.kext.VBoxUSB..." 47 sudo kextunload -v 6 -b org.virtualbox.kext.VBoxUSB 48 LOADED=`kextstat -b org.virtualbox.kext.VBoxUSB -l` 49 if test -n "$LOADED"; then 50 echo "load.sh: failed to unload org.virtualbox.kext.VBoxUSB, see above..." 51 exit 1; 52 fi 53 echo "load.sh: Successfully unloaded org.virtualbox.kext.VBoxUSB" 54 fi 44 55 45 56 # Try unload any existing instance first. … … 57 68 58 69 set -e 70 trap "sudo chown -R `whoami` $DIR; exit 1" INT 59 71 # On smbfs, this might succeed just fine but make no actual changes, 60 72 # so we might have to temporarily copy the driver to a local directory.
Note:
See TracChangeset
for help on using the changeset viewer.