Print this page
4719 update gate build environment to [open]jdk7 4742 update manifests for javadoc7 4743 Fix deprecated /usr/j2se usage in slp and remove from filesystem(5) manpage 4744 remove traces of /var/sadm/system/admin/default_java Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Richard Lowe <richlowe@richlowe.net>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.lib/slpd/slp
          +++ new/usr/src/cmd/cmd-inet/usr.lib/slpd/slp
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23   23  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -#ident  "%Z%%M% %I%     %E% SMI"
  27   26  #
  28   27  # Service Method Support Script for the SLP service
  29   28  #
  30   29  # - operates a proxy for slpd which brings up the JVM to run slpd
  31   30  #   when required by a client; this prevents keeping JVM's alive
  32   31  #   when the service is not in use.
  33   32  #
  34   33  
  35   34  . /lib/svc/share/smf_include.sh
  36   35  
  37   36  CONF=/etc/inet/slp.conf
  38      -JAVA_BIN=/usr/j2se/bin/java
       37 +JAVA_BIN=/usr/java/bin/java
  39   38  CLASSPATH=/usr/share/lib/slp/slpd.jar
  40   39  MAIN_CLASS=com.sun.slp.slpd
  41   40  SLPD_HOME=/usr/lib/inet
  42   41  SLPD=slpd
  43   42  SLPD_BIN=$SLPD_HOME/$SLPD
  44   43  
  45   44  case "$1" in
  46   45  'start')
  47   46          # Start slpd proxy (as a fragile dependency, conf file must exist)
  48   47          $SLPD_BIN -f $CONF >/dev/msglog 2>&1 &
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX