VirtualBox

Changeset 47317 in vbox


Ignore:
Timestamp:
Jul 22, 2013 4:24:50 PM (11 years ago)
Author:
vboxsync
Message:

Additions/solaris/Installer: Addressed a todo and avoids spawning svcs twice when one will do.

File:
1 edited

Legend:

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

    r44528 r47317  
    348348    # 1 second intervals to see if our service has been successfully imported and timeout after 'cmax' seconds.
    349349    /usr/sbin/svcadm restart svc:system/manifest-import:default
    350     ## @todo why do we redirect to /dev/null and then save the output?
    351     is_import=`/usr/bin/svcs virtualbox/vboxservice >/dev/null 2>&1 && /usr/bin/svcs virtualbox/vboxmslnk >/dev/null 2>&1`
    352     while test $? -ne 0;
     350    /usr/bin/svcs virtualbox/vboxservice virtualbox/vboxmslnk >/dev/null 2>&1
     351    while test "$?" -ne 0;
    353352    do
    354353        sleep 1
     
    358357            break
    359358        fi
    360         is_import=`/usr/bin/svcs virtualbox/vboxservice >/dev/null 2>&1 && /usr/bin/svcs virtualbox/vboxmslnk >/dev/null 2>&1`
     359        /usr/bin/svcs virtualbox/vboxservice virtualbox/vboxmslnk >/dev/null 2>&1
    361360    done
    362361    if test "$success" -eq 0; then
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