aboutsummaryrefslogtreecommitdiff
path: root/sysutils/clockspeed/files/clockspeed.sh.sample
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-05-25 14:58:06 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-05-25 14:58:06 +0000
commit69feeee7037f64de337f5baf95f8a9cd813f0ab9 (patch)
tree2f56909703ddf6ad4d2b4ddbbe2d574eea0cbafe /sysutils/clockspeed/files/clockspeed.sh.sample
parent3ea6bb84f225dd2f779ce12d1091d4287fc034ff (diff)
downloadports-69feeee7037f64de337f5baf95f8a9cd813f0ab9.tar.gz
ports-69feeee7037f64de337f5baf95f8a9cd813f0ab9.zip
Notes
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