diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2007-04-09 15:43:28 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2007-04-09 15:43:28 +0000 |
commit | 43b341a6f7a6a2e45eaf2f19c67beb2a9e460239 (patch) | |
tree | c476909aaf82cc5c1fed29d7c107793ff6f0f632 /comms/tits/files | |
parent | ba9a368f552258e25e0865359ed0789fbe8e7793 (diff) | |
download | ports-43b341a6f7a6a2e45eaf2f19c67beb2a9e460239.tar.gz ports-43b341a6f7a6a2e45eaf2f19c67beb2a9e460239.zip |
Notes
Diffstat (limited to 'comms/tits/files')
-rw-r--r-- | comms/tits/files/tits.in | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/comms/tits/files/tits.in b/comms/tits/files/tits.in new file mode 100644 index 000000000000..2d5aa86012bb --- /dev/null +++ b/comms/tits/files/tits.in @@ -0,0 +1,33 @@ +#!/bin/sh +# $FreeBSD$ + +# PROVIDE: tits +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: shutdown + +# Define these tits_* variables in one of these files: +# /etc/rc.conf +# /etc/rc.conf.local +# /etc/rc.conf.d/tits +# +# DO NOT CHANGE THESE DEFAULT VALUES HERE +# +tits_enable="${tits_enable-NO}" +#tits_pidfile="/var/run/tits.pid" + +. %%RC_SUBR%% + +name="tits" +rcvar=`set_rcvar` +command="%%PREFIX%%/sbin/tits" + +load_rc_config $name + +: ${tits_config="%%PREFIX%%/etc/tits.conf"} +: ${tits_flags="${tits_config}"} + +#pidfile="${tits_pidfile}" +required_files="${tits_config}" + +run_rc_command "$1" |