#!/usr/bin/ksh 
# @(#)instget.sh	1.0	11/15/00
#

LMICONFIG_PATH=/var/opt/lanman/config
LMICONFLOCK=/tmp/.pcnl.findinstance

oflag=a

if [ -f $LMICONFLOCK ] 
then
	echo LOCKED1
	exit 1
fi

#cp /dev/null $LMICONFLOCK

rlist=`while read inum path lhost 
do
#	ilist="$ilist $inum"	
	echo $inum
done < $LMICONFIG_PATH`

echo $rlist

#n=10
#i=1

#while [ $i -ne $n ]
#do
#	tlist=$rlist
#	for j in $tlist
#	do
#		if [ $j -eq $i ]; then
#			j=0
#			break	
#		fi
#	done
#	if [ $j -ne 0  ]; then
#		echo $i
#	fi
#i=`expr $i + 1`
#done
exit 0
