aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lcdproc/files/LCDd.in
blob: 40fd0e17ab4c12716a35e3c9d9a9521e47b3c53e (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
#!/bin/sh
#
# $FreeBSD$
#
# 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=${name}_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"