#!/bin/sh
#
# Start local services...
#


start() {
 	echo "Starting local services..."
	/etc/init.d/gps start
	/etc/init.d/utrobot &
}	
stop() {
	echo -n "Stopping local services..."
	/etc/init.d/gps stop
	killall utrobot
}
restart() {
	stop
	sleep 5;
	start
}	

case "$1" in
  start)
  	start
	;;
  stop)
  	stop
	;;
  restart|reload)
  	restart
	;;
  *)
	echo $"Usage: $0 {start|stop|restart}"
	exit 1
esac

exit $?

