#!/bin/sh

###############################################################################
#
# chkconfig: 345 80 15
#
# description: Checks the RAID-1 mirroring configuration for reconstruction.
#
# processname: raidrecover.pl
#
###############################################################################

# Source function library.
. /etc/rc.d/init.d/functions

# Branch based on command line options.
case "$1" in
  start)
	echo -n "Performing RAID-1 integrity check: "
	/usr/ins/intel/bin/raidrecover.pl
        echo 
	;;
  restart)
	$0 start
	;;
  *)
	echo "Usage: $0 {start|restart}"
	exit 1
esac

exit 0

