#!/bin/sh

base=led-player

# See how we were called.
case "$1" in
  start)
		$base &
        ;;
  stop)
	pid=`/bin/pidof $base`
	if [ -n "$pid" ]; then
		kill -9 $pid
	fi
        ;;
esac

exit 0
