diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-03-26 19:21:20 +0000 |
---|---|---|
committer | <> | 2014-05-08 15:03:54 +0000 |
commit | fb123f93f9f5ce42c8e5785d2f8e0edaf951740e (patch) | |
tree | c2103d76aec5f1f10892cd1d3a38e24f665ae5db /src/VBox/HostDrivers/Support/solaris/load.sh | |
parent | 58ed4748338f9466599adfc8a9171280ed99e23f (diff) | |
download | VirtualBox-master.tar.gz |
Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2.HEADVirtualBox-4.3.10master
Diffstat (limited to 'src/VBox/HostDrivers/Support/solaris/load.sh')
-rwxr-xr-x | src/VBox/HostDrivers/Support/solaris/load.sh | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/VBox/HostDrivers/Support/solaris/load.sh b/src/VBox/HostDrivers/Support/solaris/load.sh index fb204408..985c3459 100755 --- a/src/VBox/HostDrivers/Support/solaris/load.sh +++ b/src/VBox/HostDrivers/Support/solaris/load.sh @@ -26,7 +26,7 @@ # DRVNAME="vboxdrv" -DRIVERS_USING_IT="vboxusbmon vboxusb vboxnet vboxflt vboxbow" +DRIVERS_USING_IT="vboxusb vboxusbmon vboxnet vboxflt vboxbow" DRVFILE=`dirname "$0"` DRVFILE=`cd "$DRVFILE" && pwd` @@ -43,7 +43,10 @@ fi SUDO=sudo #set -x -# Unload driver that may depend on the driver we're going to (re-)load +# Disable the zone access service. +$SUDO svcadm disable svc:/application/virtualbox/zoneaccess:default + +# Unload driver that may depend on the driver we're going to (re-)load # as well as the driver itself. for drv in $DRIVERS_USING_IT $DRVNAME; do @@ -64,9 +67,9 @@ done # Reconfigure the driver so it get a major number. # # Note! We have to copy the driver and config files to somewhere the kernel can -# find them. It is searched for as drv/${DRVNAME}.conf in -# kobj_module_path, which is usually: -# /platform/i86pc/kernel /kernel /usr/kernel +# find them. It is searched for as drv/${DRVNAME}.conf in +# kobj_module_path, which is usually: +# /platform/i86pc/kernel /kernel /usr/kernel # To try prevent bad drivers from being loaded on the next boot, we remove # always the files. # |