diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2009-09-19 20:08:47 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2009-09-19 20:08:47 +0000 |
commit | 950685f9267834c1d8e9bb1d96f1e3db2b116cd6 (patch) | |
tree | 00e77d7cd3699f1c672acfe3c8d15199ee493f66 /benchmarks/thrulay | |
parent | - Update to 0.9 (diff) |
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/thrulay')
-rw-r--r-- | benchmarks/thrulay/files/thrulayd.in | 23 |
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" |