blob: 3874ef1d75b6c64005f96c2e2bb35f2359db1327 (
plain)
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=lcdproc_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"
|