#!/bin/sh
#
# $Id: isi_verify_hardware_rc 196779 2011-08-09 16:53:11Z olaskin $
#

# PROVIDE: isi_verify_hardware
# REQUIRE: syslogd isi_hal_init

. /etc/rc.subr

name="isi_verify_hardware"
start_cmd="isi_verify_hardware_start"

isi_verify_hardware_start()
{
	/usr/sbin/isi_verify_hardware
	case $? in 
	    0)
		true   ;;
	    *) 
		echo "Verify Hardware exited with an error."
		echo "Aborting boot."
		/usr/sbin/isi_stop_boot "Verify Hardware exited with an error."
		;;
	esac
}

load_rc_config $name
run_rc_command "$1"
