#!/bin/sh

#We do not want to run this if we have a alternate ROOTDIR
if [ -n "${ROOTDIR}" -a "${ROOTDIR}" != "/" ]; then
	exit 0
fi
if [ -f ${ROOTDIR}/usr/sbin/modload ] \
     && isainfo | grep sparcv9 >/dev/null 2>&1; then
  modload -p drv/sparcv9/scmi2c
fi

exit 0
