#!/bin/sh

###############################################################################
#
# chkconfig: 123 1 99
#
# description: Startup script for the Intel Front Panel Management Driver 
#              (FPMD) device driver. The Intel FPMD device driver is used to 
#              access the front panel device. 
#
# Copyright (c) Intel Corporation 2000
#
###############################################################################

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

# Branch based on command line options.
case "$1" in
  start)
	echo -n "Starting FPMD driver: "
	/sbin/insmod fpmd && echo_success 
	echo
	;;
  stop)
	echo -n "Stopping FPMD driver: "
	/sbin/rmmod fpmd && echo_success 
	echo
	;;
  *)
	echo "Usage: $0 {start|stop}"
	exit 1
esac

exit 0
