1 # !/bin/ksh93 2 # 3 # CDDL HEADER START 4 # 5 # The contents of this file are subject to the terms of the 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 # 24 # Copyright 2009 Sun Microsystems, Inc. All rights reserved. 25 # Use is subject to license terms. 26 # 27 # ident "@(#)install-sfw 1.2 09/06/09 SMI" 28 29 set -o errexit 30 PREFIX=${ROOT}/usr 31 32 SHAREDIR=${PREFIX}/share 33 MAN_DIR=${SHAREDIR}/man 34 MAN1=$MAN_DIR/man1 35 MAN5=$MAN_DIR/man5 36 MAN8=$MAN_DIR/man8 37 LIB=${PREFIX}/lib 38 39 CON=${LIB}/conman 40 CON_EX=${CON}/examples 41 CON_EXC=${CON}/exec 42 43 MANSCRIPT=../sunman-stability 44 source ${SRC}/tools/install.subr 45 cd ${PKGVERS} 46 # install conman man page 47 48 _install M man/conman.1 ${MAN1}/conman.1 444 49 _install M man/conman.conf.5 ${MAN5}/conman.conf.5 444 50 _install M man/conmand.8 ${MAN8}/conmand.8 444 51 52 _install E conman ${PREFIX}/bin/conman 555 53 _install E conmand ${PREFIX}/sbin/conmand 555 54 _install N ../conmand.xml ${ROOT}/var/svc/manifest/system/conmand.xml 444 55 _install S ../svc-conmand ${ROOT}/lib/svc/method/svc-conmand 555 56 _install N etc/conman.conf ${ROOT}/etc/conman.conf 644 57 58 _install N etc/conman.logrotate ${ROOT}/etc/logrotate.d/conman 644 59 _install N etc/conman.sysconfig ${ROOT}/etc/default/conman 644 60 61 _install N lib/alpha.exp ${CON}/alpha.exp 555 62 _install N lib/conman.exp ${CON}/conman.exp 555 63 _install N lib/examples/README ${CON_EX}/README 444 64 _install N lib/examples/boot_alpha.exp ${CON_EX}/boot_alpha.exp 555 65 _install N lib/examples/mac.exp ${CON_EX}/mac.exp 555 66 _install N lib/examples/rmc.exp ${CON_EX}/rmc.exp 555 67 _install N lib/examples/shell_cmd_1.exp ${CON_EX}/shell_cmd_1.exp 555 68 _install N lib/examples/shell_cmd_n.exp ${CON_EX}/shell_cmd_n.exp 555 69 _install N lib/examples/srm.exp ${CON_EX}/srm.exp 555 70 _install N lib/examples/wtf.exp ${CON_EX}/wtf.exp 555 71 72 _install N lib/exec/README ${CON_EXC}/README 444 73 _install N lib/exec/cyclades-ssh.exp ${CON_EXC}/cyclades-ssh.exp 555 74 _install N lib/exec/cyclades-telnet.exp ${CON_EXC}/cyclades-telnet.exp 555 75 _install N lib/exec/hp-ilo.exp ${CON_EXC}/hp-ilo.exp 555 76 _install N lib/exec/hp-lo100.exp ${CON_EXC}/hp-lo100.exp 555 77 _install N lib/exec/ibm-bc.exp ${CON_EXC}/ibm-bc.exp 555 78 _install N lib/exec/ipmiconsole.exp ${CON_EXC}/ipmiconsole.exp 555 79 _install N lib/exec/ipmitool.exp ${CON_EXC}/ipmitool.exp 555 80 _install N lib/exec/ssh.exp ${CON_EXC}/ssh.exp 555 81 _install N lib/exec/sun-ilom.exp ${CON_EXC}/sun-ilom.exp 555 82 83 exit 0 84 85