summaryrefslogtreecommitdiffstats
path: root/sysutils/uptimed/files
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/uptimed/files')
-rw-r--r--sysutils/uptimed/files/uptimed.sh.sample16
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
OpenPOWER on IntegriCloud