VirtualBox

Changeset 20696 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Jun 18, 2009 5:09:24 PM (15 years ago)
Author:
vboxsync
Message:

Solaris/Installer: checkinstall halts zone service if necessary & gets on with things.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/solaris/checkinstall.sh

    r20591 r20696  
    3737fi
    3838
    39 # Check if the Zone Access service is holding open vboxdrv
    40 zoneaccessfound=`svcs -a | grep "virtualbox/zoneaccess"`
    41 if test ! -z "$zoneaccessfound"; then
    42     echo "## VirtualBox's Zone Access service appears to still be running."
    43     abort_error
     39# Check if the Zone Access service is holding open vboxdrv, if so stop & remove it
     40zoneaccessfound=`svcs -a | grep "virtualbox/zoneaccess" | awk '{ print $1 }'`
     41if test ! -z "$zoneaccessfound"
     42    if test "$zoneaccessfound" = "online"; then
     43        echo "## VirtualBox's Zone Access service appears to still be running."
     44        echo "## Stopping & removing service..."
     45        /usr/sbin/svcadm disable -s svc:/application/virtualbox/zoneaccess
     46    fi
     47    /usr/sbin/svccfg delete svc:/application/virtualbox/zoneaccess   
    4448fi
    4549
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