VirtualBox

Changeset 11475 in vbox for trunk/src


Ignore:
Timestamp:
Aug 19, 2008 8:48:02 AM (16 years ago)
Author:
vboxsync
Message:

Installer/Solaris: add webservice configuration file, used by the smf start script.

Location:
trunk/src/VBox/Installer/solaris
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/solaris/Makefile.kmk

    r11358 r11475  
    129129        virtualbox-webservice.xml \
    130130        smf-vboxwebsrv.sh \
     131        webservice.cfg \
    131132        vbox.copyright \
    132133        ReadMe.txt
     
    303304        $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0644 $(PATH_CURRENT)/virtualbox-webservice.xml         $(SOLARIS_INST_DIR)/virtualbox-webservice.xml,)
    304305        $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $(PATH_CURRENT)/smf-vboxwebsrv.sh                 $(SOLARIS_INST_DIR)/smf-vboxwebsrv.sh,)
     306        $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0644 $(PATH_CURRENT)/webservice.cfg                    $(SOLARIS_INST_DIR)/etc/webservice.cfg,)
    305307        $(QUIET)$(INSTALL) -m 0755 $(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicinit_solaris.sh            $(SOLARIS_INST_DIR)/vnic_setup.sh
    306308        $(QUIET)$(INSTALL) -m 0755 $(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicterm_solaris.sh            $(SOLARIS_INST_DIR)/vnic_term.sh
  • trunk/src/VBox/Installer/solaris/makepackage.sh

    r11365 r11475  
    9191filelist_fixup prototype '$3 == "opt/VirtualBox/virtualbox-webservice.xml=virtualbox-webservice.xml"'   '$3 = "var/svc/manifest/application/virtualbox/webservice.xml=virtualbox-webservice.xml"'
    9292
     93# webservice SMF configuration file, mark as editable.
     94filelist_fixup prototype '$3 == "opt/VirtualBox/etc/webservice.cfg=webservice.cfg"'   '$1 = "e"'
     95
    9396# explicitly set timestamp to shutup warning
    9497VBOXPKG_TIMESTAMP=vbox`date '+%Y%m%d%H%M%S'`
  • trunk/src/VBox/Installer/solaris/smf-vboxwebsrv.sh

    r11358 r11475  
    3939        fi
    4040
     41        if [ ! -f /opt/VirtualBox/etc/webservice.cfg ]; then
     42            echo "ERROR: /opt/VirtualBox/etc/webservice.cfg does not exist."
     43            return $SMF_EXIT_ERR_CONFIG
     44        fi
     45
     46        . /opt/VirtualBox/etc/webservice.cfg
     47
    4148        [ -z "$VW_USER" ] && VW_USER=root
    4249        [ -z "$VW_HOST" ] && VW_HOST=localhost
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