Print this page
NEX-3123 update gate build environment to [open]jdk7
Reviewed by: Gordon Ross <gwr@nexenta.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Jean McCormack <jean.mccormack@nexenta.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>


   6 # Common Development and Distribution License (the "License").
   7 # You may not use this file except in compliance with the License.
   8 #
   9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10 # or http://www.opensolaris.org/os/licensing.
  11 # See the License for the specific language governing permissions
  12 # and limitations under the License.
  13 #
  14 # When distributing Covered Code, include this CDDL HEADER in each
  15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16 # If applicable, add the following below this CDDL HEADER, with the
  17 # fields enclosed by brackets "[]" replaced with your own identifying
  18 # information: Portions Copyright [yyyy] [name of copyright owner]
  19 #
  20 # CDDL HEADER END
  21 #
  22 #
  23 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #

  26 #
  27 # Service Method Support Script for the SLP service
  28 #
  29 # - operates a proxy for slpd which brings up the JVM to run slpd
  30 #   when required by a client; this prevents keeping JVM's alive
  31 #   when the service is not in use.
  32 #
  33 
  34 . /lib/svc/share/smf_include.sh
  35 
  36 CONF=/etc/inet/slp.conf
  37 JAVA_BIN=/usr/java/bin/java
  38 CLASSPATH=/usr/share/lib/slp/slpd.jar
  39 MAIN_CLASS=com.sun.slp.slpd
  40 SLPD_HOME=/usr/lib/inet
  41 SLPD=slpd
  42 SLPD_BIN=$SLPD_HOME/$SLPD
  43 
  44 case "$1" in
  45 'start')




   6 # Common Development and Distribution License (the "License").
   7 # You may not use this file except in compliance with the License.
   8 #
   9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10 # or http://www.opensolaris.org/os/licensing.
  11 # See the License for the specific language governing permissions
  12 # and limitations under the License.
  13 #
  14 # When distributing Covered Code, include this CDDL HEADER in each
  15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16 # If applicable, add the following below this CDDL HEADER, with the
  17 # fields enclosed by brackets "[]" replaced with your own identifying
  18 # information: Portions Copyright [yyyy] [name of copyright owner]
  19 #
  20 # CDDL HEADER END
  21 #
  22 #
  23 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 # Copyright 2014 PALO, Richard. All rights reserved.
  27 #
  28 # Service Method Support Script for the SLP service
  29 #
  30 # - operates a proxy for slpd which brings up the JVM to run slpd
  31 #   when required by a client; this prevents keeping JVM's alive
  32 #   when the service is not in use.
  33 #
  34 
  35 . /lib/svc/share/smf_include.sh
  36 
  37 CONF=/etc/inet/slp.conf
  38 JAVA_BIN=/usr/java/bin/java
  39 CLASSPATH=/usr/share/lib/slp/slpd.jar
  40 MAIN_CLASS=com.sun.slp.slpd
  41 SLPD_HOME=/usr/lib/inet
  42 SLPD=slpd
  43 SLPD_BIN=$SLPD_HOME/$SLPD
  44 
  45 case "$1" in
  46 'start')