diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2005-11-29 22:44:49 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2005-11-29 22:44:49 +0000 |
commit | 47cb36aa585bf931fccd93d9e0f2a289d34c96c4 (patch) | |
tree | 22b6583da5415915a54105af4e4df382bf32682b /irc/thales/files/thales.sh.in | |
parent | 54f0486e51c7aa2aa0e9cefe267e35f46dbff0d9 (diff) | |
download | ports-47cb36aa585bf931fccd93d9e0f2a289d34c96c4.tar.gz ports-47cb36aa585bf931fccd93d9e0f2a289d34c96c4.zip |
Notes
Diffstat (limited to 'irc/thales/files/thales.sh.in')
-rw-r--r-- | irc/thales/files/thales.sh.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/irc/thales/files/thales.sh.in b/irc/thales/files/thales.sh.in new file mode 100644 index 000000000000..bd2df2e0d153 --- /dev/null +++ b/irc/thales/files/thales.sh.in @@ -0,0 +1,29 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: thales +# REQUIRE: NETWORKING SERVERS +# BEFORE: DAEMON +# KEYWORD: shutdown + +# +# Add the following line to /etc/rc.conf to enable Thales: +# thales_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable Thales +# + +. %%RC_SUBR%% + +name="thales" +rcvar=`set_rcvar` + +command="%%PREFIX%%/bin/thales" + +[ -z "$thales_enable" ] && thales_enable="NO" + +required_files="%%PREFIX%%/etc/thales.conf" + +load_rc_config $name +run_rc_command "$1" |