diff options
author | will <will@FreeBSD.org> | 2002-10-10 20:00:43 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2002-10-10 20:00:43 +0000 |
commit | 0441c011a1ce0fc1c581c2db5a9897d4885b416d (patch) | |
tree | ea2b89775e5261bc3f1b76c0f7a1cbde913aa5a6 /sysutils/uptimed/files | |
parent | a7486147238a04d287b6ac4080d9a8c7aa40f234 (diff) | |
download | FreeBSD-ports-0441c011a1ce0fc1c581c2db5a9897d4885b416d.zip FreeBSD-ports-0441c011a1ce0fc1c581c2db5a9897d4885b416d.tar.gz |
Add uptimed 0.2.0, Rob Kaper's uptime daemon.
PR: 40932
Submitted by: Andy Fawcett <andy@athame.co.uk>
Diffstat (limited to 'sysutils/uptimed/files')
-rw-r--r-- | sysutils/uptimed/files/uptimed.sh.sample | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/uptimed/files/uptimed.sh.sample b/sysutils/uptimed/files/uptimed.sh.sample new file mode 100644 index 0000000..004119e --- /dev/null +++ b/sysutils/uptimed/files/uptimed.sh.sample @@ -0,0 +1,16 @@ +#!/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 |