#!/bin/sh

. /etc/rc.d/init.d/functions

EVDEV=/dev/input/event0

case "$1" in
  start)
	switchevd $EVDEV
	action "Starting switchevd: " true
	;;
  stop)
	echo -n "Shutting down switchevd: "
	killproc switchevd
	echo
	;;
  status)
	status switchevd
	;;
  restart)
	$0 stop
	$0 start
	;;
  *)
	echo "Usage: $0 {start|stop|status}"
	exit 1
esac

exit 0
