Script modifid for servers where slot number is greated than one digit

Please change following lines if your controller has slots in 2 digits:

if [ “$EXCLUDE_SLOT” = “1” ]; then

# slots=`echo ${check} | egrep -o “Slot w” | awk ‘{print $NF}’ | grep -v “$excludeslot”`
slots=`echo ${check} | egrep -o “Slot w*” | awk ‘{print $NF}’ | grep -v “$excludeslot”`
else

# slots=`echo ${check} | egrep -o “Slot w” | awk ‘{print $NF}’`
slots=`echo ${check} | egrep -o “Slot w*” | awk ‘{print $NF}’`
fi