blob: b52fdf79180253867eb3ca039a0dc25a928fa294 (
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: lcdproc
# REQUIRE: LCDd
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
# SET THEM IN THE /etc/rc.conf FILE
#
. /etc/rc.subr
name="lcdproc"
rcvar=${name}_enable
load_rc_config $name
: ${lcdproc_enable="NO"}
: ${lcdproc_conf="%%PREFIX%%/etc/lcdproc.conf"}
: ${lcdproc_flags="-c ${lcdproc_conf}"}
required_files=${lcdproc_conf}
command="%%PREFIX%%/bin/lcdproc"
run_rc_command "$1"
|