
getPlatform()
{
_abc=`/sbin/sin | \
	/bin/grep Platform | \
    /usr/bin/cut -d" " -f2 | \
    /usr/bin/cut -d"," -f1`
case $_abc in 

* ) /bin/echo "UNKNOWN" ;;
esac
}

create_param_list()
{
blade=`getPlatform`
case $blade in
"UNKNOWN" )
burninMessage "Could not determine blade ID. Aborting"
exit 4
;;

esac
}

getBlade()
{
_abc=`/fabos/link_bin/slotshow -d575 | \
		/bin/grep BLADE | \
		/usr/bin/tr -s "  " " " | \
		/usr/bin/cut -d" " -f2,5 | \
		/bin/grep -w "^$1" | \
		/usr/bin/cut -d" " -f2`

case "$_abc" in

* )  _abc="UNKNOWN" ;;
esac

/bin/echo $_abc
}

create_command_list()
{
blade=`getBlade $Slot`
case $blade in
"UNKNOWN" )
burninMessage "Could not determine blade ID. Aborting"
exit 4
;;

esac
}
