#!/bin/sh
#
#ident	"@(#)initdid	1.8	00/01/25 SMI"
#
# Copyright (c) 1997-2000 by Sun Microsystems, Inc.
# All Rights Reserved.
#

CMD="/usr/cluster/bin/scgdevs"

# test whether we are a cluster and exit if not a cluster
/usr/sbin/clinfo > /dev/null 2>&1
RET=$?
if [ $RET != 0 -a -n "$_INIT_RECONFIG" ] ; then
	echo "Note: path_to_inst was not updated. Please 'boot -r' to update."
	exit 0
elif [  $RET != 0 ] ;then
	exit 0
fi

if [ -n "$_INIT_RECONFIG" -a -x "$CMD" ]; then
	$CMD -l
fi
