blob: b0d0c6b62c7f23d35419752fa6ad96e7b48cbc21 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/bin/sh
# 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"
|