aboutsummaryrefslogtreecommitdiff
path: root/sysutils/clockspeed/files/clockspeed.sh.sample
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/clockspeed/files/clockspeed.sh.sample')
-rw-r--r--sysutils/clockspeed/files/clockspeed.sh.sample16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/clockspeed/files/clockspeed.sh.sample b/sysutils/clockspeed/files/clockspeed.sh.sample
new file mode 100644
index 000000000000..c74fd1b8b622
--- /dev/null
+++ b/sysutils/clockspeed/files/clockspeed.sh.sample
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+PREFIX=/usr/local/
+
+case "$1" in
+start)
+ exec ${PREFIX}/bin/clockspeed &
+ exit 0
+ ;;
+stop)
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ exit 64
+ ;;
+esac