VirtualBox

Changeset 11485 in vbox for trunk


Ignore:
Timestamp:
Aug 19, 2008 12:59:27 PM (16 years ago)
Author:
vboxsync
Message:

Installer/solaris: Don't purge /opt/VirtualBox/etc, and disable the webservice. Having an unconfigured service looks ugly.

File:
1 edited

Legend:

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

    r11358 r11485  
    6060if test -f /var/svc/manifest/application/virtualbox/webservice.xml; then
    6161    /usr/sbin/svccfg import /var/svc/manifest/application/virtualbox/webservice.xml
     62    /usr/sbin/svcadm disable -s svc:/application/virtualbox/webservice:default
    6263fi
    6364/usr/sbin/removef $PKGINST /opt/VirtualBox/etc/devlink.tab 1>/dev/null
    64 /usr/sbin/removef $PKGINST /opt/VirtualBox/etc 1>/dev/null
    65 rm -rf /opt/VirtualBox/etc
     65#disabled as /opt/VirtualBox/etc is actually used for permanent config files.
     66#/usr/sbin/removef $PKGINST /opt/VirtualBox/etc 1>/dev/null
     67#rm -rf /opt/VirtualBox/etc
    6668/usr/sbin/removef -f $PKGINST
    6769
    6870/usr/sbin/installf -f $PKGINST
    6971
    70 # We need to touch the desktop link inorder to add it to the menu right away
     72# We need to touch the desktop link in order to add it to the menu right away
    7173if test "$currentzone" = "global"; then
    7274    if test -f "/usr/share/applications/virtualbox.desktop"; 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