summaryrefslogtreecommitdiff
path: root/src/VBox/HostDrivers/Support/solaris/load.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/HostDrivers/Support/solaris/load.sh')
-rwxr-xr-xsrc/VBox/HostDrivers/Support/solaris/load.sh13
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.
#