VirtualBox

Changeset 47474 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 30, 2013 12:33:41 PM (11 years ago)
Author:
vboxsync
Message:

Solaris/Installer: Remove redundant waiting for service import, already done in 'start_service()' function.

File:
1 edited

Legend:

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

    r47315 r47474  
    11081108                # 1 second intervals to see if our service has been successfully imported and timeout after 'cmax' seconds.
    11091109                $BIN_SVCADM restart svc:system/manifest-import:default
    1110                 cmax=32
    1111                 success=0
    1112                 $BIN_SVCS virtualbox/zoneaccess >/dev/null 2>&1
    1113                 while test "$?" -ne 0;
    1114                 do
    1115                     sleep 1
    1116                     cslept=`expr $cslept + 1`
    1117                     if test "$cslept" -eq "$cmax"; then
    1118                         success=1
    1119                         break
    1120                     fi
    1121                     $BIN_SVCS virtualbox/zoneaccess >/dev/null 2>&1
    1122                 done
    11231110
    11241111                # Start ZoneAccess service, other services are disabled by default.
    1125                 if test "$success" -eq 0; then
    1126                     start_service "Zone access service" "virtualbox/zoneaccess" "svc:/application/virtualbox/zoneaccess:default" \
    1127                                 "/var/svc/log/application-virtualbox-zoneaccess:default.log"
    1128                 else
    1129                     echo "## Service import failed."
    1130                     echo "## See /var/svc/log/system-manifest-import:default.log for details."
    1131                 fi
    1132             fi
     1112                start_service "Zone access service" "virtualbox/zoneaccess" "svc:/application/virtualbox/zoneaccess:default" \
     1113                            "/var/svc/log/application-virtualbox-zoneaccess:default.log"
    11331114        fi
    11341115
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