aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-09-19 20:08:47 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-09-19 20:08:47 +0000
commit950685f9267834c1d8e9bb1d96f1e3db2b116cd6 (patch)
tree00e77d7cd3699f1c672acfe3c8d15199ee493f66 /benchmarks
parent4c0562fe1be7c2bf9c0bf9ecfa3dc5ec5765042e (diff)
downloadports-950685f9267834c1d8e9bb1d96f1e3db2b116cd6.tar.gz
ports-950685f9267834c1d8e9bb1d96f1e3db2b116cd6.zip
Add file forgoten in previous commit:
- Update to 0.9 - use rc.d script - Update MASTER_SITES - use PORTDOCS - USE_LDCONFIG - obey custom PREFIX PR: 138366 Submitted by: Sylvio Cesar Approved by: maintainer Feature safe: yes Feature safe: yes
Notes
Notes: svn path=/head/; revision=241768
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/thrulay/files/thrulayd.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/benchmarks/thrulay/files/thrulayd.in b/benchmarks/thrulay/files/thrulayd.in
new file mode 100644
index 000000000000..9161623427fb
--- /dev/null
+++ b/benchmarks/thrulay/files/thrulayd.in
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+# PROVIDE: thrulay
+
+# Add the following line to /etc/rc.conf to enable `thrulayd':
+#
+#thrulayd_enable="YES"
+#
+
+. /etc/rc.subr
+
+name="thrulayd"
+rcvar=`set_rcvar`
+
+# read settings, set default values
+load_rc_config "${name}"
+: ${thrulayd_enable="NO"}
+: ${thrulayd_directory="%%PREFIX%%/sbin"}
+
+# path to your executable, might be bin, sbin, ...
+command="${thrulayd_directory}/thrulayd"
+
+run_rc_command "$1"