Print this page
Split Close
Expand all
Collapse all
          --- /workspace/tf84964/oscds-6662001-6610950/webrev/usr/src/cmd/ha-services/gds-agents/zone/sczbt/start_sczbt.ksh-
          +++ start_sczbt.ksh
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # When distributing Covered Code, include this CDDL HEADER in each
  15   15  # file and include the License file at usr/src/CDDL.txt.
  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  #
  24      -# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
       24 +# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  #
  27   27  # ident "%Z%%M% %I%     %E% SMI"
  28   28  #
  29   29  
  30   30  # starts the zone, the paramters are passed in options
  31   31  
  32   32  MYNAME=`basename ${0}`
  33   33  MYDIR=`dirname ${0}`
  34   34  
↓ open down ↓ 21 lines elided ↑ open up ↑
  56   56  ${SET_DEBUG}
  57   57  
  58   58  # Checks the syntax of the options
  59   59  
  60   60  if ! validate_options
  61   61  then
  62   62          debug_message "Method: ${MYNAME} - End (Exit 1)"
  63   63          exit 1
  64   64  fi
  65   65  
  66      -rm ${LOGFILE} 2>/dev/null
       66 +/bin/rm ${LOGFILE} 2>/dev/null
  67   67  
  68   68  # checks the semantic of the options and the parameter file
  69   69  
  70   70  if ! validate
  71   71  then
  72   72          debug_message "Method: ${MYNAME} - End (Exit 1)"
  73   73          exit 1
  74   74  fi
  75   75  
  76   76  # source the zone boot specific parameter file
  77   77  
  78   78  . ${PARFILE}
  79   79  
  80   80  if start_sczbt
  81   81  then
  82      -        log_message notice "start_command rc<${rc_start_command}>"
       82 +        debug_message "start_command rc<${rc_start_command}>"
  83   83  else
  84   84          log_message err "start_command rc<${rc_start_command}>"
  85   85  fi
  86   86  
  87   87  debug_message "Method: ${MYNAME} - End (Exit ${rc_start_command})"
  88   88  exit ${rc_start_command}
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX