#!/bin/sh
#SYSTEMS: Solaris
MSG="# Checking for the Web-based Enterprise Management (WBEM) service..."
SYSTEM=`uname -s`
######Solaris######
if [ "$SYSTEM" = "SunOS" ]; then
  echo ""; echo "$MSG"
  case "`uname -r`" in
    5.[89]*) ;;
    *)
      #Only supported on Solaris 8 and newer
      exit 0;;
  esac
  CHK=`ls /etc/rc*.d/S*wbem 2>/dev/null | tr "[\n]" " "`
  if [ "$CHK" != "" ]; then
    echo "--WARN-- [WBEM001w] Web-based Enterprise Management server script FOUND."
  fi
fi
