#!/bin/ksh
# IBM_PROLOG_BEGIN_TAG 
# This is an automatically generated prolog. 
#  
#  
#  
# Licensed Materials - Property of IBM 
#  
# (C) COPYRIGHT International Business Machines Corp. 2011,2019 
# 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 
# @(#)64   1.1   src/rsct/utils/lsctcfg.sh, common_utils, rsct_rady, rady2035a 1/10/11 21:49:37

function Usage {
	print "Usage: lsctcfg"
	print "       lsctcfg -f <capability_name>"
}

function Usage_err {
	Usage 1>&2
}

Argcount=0
while getopts ":f:h" opt
do
	case $opt in
		f ) Attr=$OPTARG ; Argcount=$((Argcount + 1));;
		h ) Usage; exit 0;;
		? ) Usage_err; exit 1;;
	esac
done

if (($Argcount > 1))
then
	Usage_err
	exit 1;
fi

if [[ $Argcount -eq 1 && "$Attr" != "ivm_nmd" ]]
then
	Usage_err
	exit 1;
fi

print "ivm_nmd=1"

exit 0

