#!/bin/sh # $FreeBSD: head/comms/tits/files/tits.in 340851 2014-01-23 19:55:14Z mat $ # 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" . /etc/rc.subr name="tits" rcvar=tits_enable 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"