#!/bin/sh
#
# Startup script for the Uptime daemon
#
# chkconfig: 2345 40 60
# description: Uptime daemon tracks your best 3 uptimes.
#
#


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

# See how we were called.
case "$1" in
  start)
	echo -n "Starting ud: "
	daemon ud
	echo
	;;
  stop)
	echo -n "Shutting down ud: "
	killproc ud
	echo
	;;
  status)
	status ud
	;;
  restart)
	$0 stop
	$0 start
	;;
  *)
	echo "Usage: ud {start|stop|restart|status}"
	exit 1
esac

exit 0

