1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/sysutils/uptimed/files/uptimed.sh.sample
Will Andrews 918c510872 Add uptimed 0.2.0, Rob Kaper's uptime daemon.
PR:		40932
Submitted by:	Andy Fawcett <andy@athame.co.uk>
2002-10-10 20:00:43 +00:00

17 lines
208 B
Bash

#!/bin/sh
case "$1" in
start)
/usr/local/sbin/uptimed -b
echo -n ' uptimed'
/usr/local/sbin/uptimed
;;
stop)
;;
restart)
;;
*)
echo "Usage: ${0##*/}: { start | stop | restart }" 2>&1
exit 65
;;
esac