#!/bin/sh # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # bos720 src/bos/usr/lpp/bosinst/samples/AE/AS/ConfigLicense.sh 1.1 # # Licensed Materials - Property of IBM # # COPYRIGHT International Business Machines Corp. 2008,2009 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG # @(#)34 1.1 src/bos/usr/lpp/bosinst/samples/AE/AS/ConfigLicense.sh, bosinst, bos720 3/29/09 15:20:12 # # A utility accepting the license # # usage: sh License -accept "yes" while [ $# -ne 0 ] do case $1 in -accept*) answer=$2 ;; *) ;; esac shift 1 done echo "Answer: $answer" if [ $answer == 'yes' ] ; then if [ -d /var/adm/ibmvmcoc-postinstall ] ; then touch /var/adm/ibmvmcoc-postinstall/wasrun.lck >/dev/null 2>&1 fi fi