aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lcdproc/files/LCDd.in
blob: 7a3ceb489ab44461d73d57d798ad1f23965c3e77 (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
#!/bin/sh

# PROVIDE: LCDd
# REQUIRE: DAEMON
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
# SET THEM IN THE /etc/rc.conf FILE
#

. /etc/rc.subr

name="LCDd"
rcvar=LCDd_enable

load_rc_config $name

: ${LCDd_enable="NO"}
: ${LCDd_conf="%%PREFIX%%/etc/LCDd.conf"}
: ${LCDd_flags="-c ${LCDd_conf}"}

required_files=${LCDd_conf}
command="%%PREFIX%%/sbin/LCDd"

run_rc_command "$1"