1#!/bin/sh 2 3# PROVIDE: tits 4# REQUIRE: DAEMON 5# BEFORE: LOGIN 6# KEYWORD: shutdown 7 8# Define these tits_* variables in one of these files: 9# /etc/rc.conf 10# /etc/rc.conf.local 11# /etc/rc.conf.d/tits 12# 13# DO NOT CHANGE THESE DEFAULT VALUES HERE 14# 15tits_enable="${tits_enable-NO}" 16#tits_pidfile="/var/run/tits.pid" 17 18. /etc/rc.subr 19 20name="tits" 21rcvar=tits_enable 22command="%%PREFIX%%/sbin/tits" 23 24load_rc_config $name 25 26: ${tits_config="%%PREFIX%%/etc/tits.conf"} 27: ${tits_flags="${tits_config}"} 28 29#pidfile="${tits_pidfile}" 30required_files="${tits_config}" 31 32run_rc_command "$1" 33