ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/pack/freebsd/sysutils/lcdproc/files/lcdproc.in
Revision: 41
Committed: 2008-09-05T00:44:26-07:00 (16 years, 9 months ago) by douglas
File size: 495 byte(s)
Log Message:
Add sysutils/lcdproc before trying to fix an issue with it.

File Contents

# Content
1 #!/bin/sh
2 #
3 # $FreeBSD: ports/sysutils/lcdproc/files/lcdproc.in,v 1.2 2006/11/21 07:24:32 rafan Exp $
4 #
5 # PROVIDE: lcdproc
6 # REQUIRE: LCDd
7 #
8 # DO NOT CHANGE THESE DEFAULT VALUES HERE
9 # SET THEM IN THE /etc/rc.conf FILE
10 #
11
12 . %%RC_SUBR%%
13
14 name="lcdproc"
15 rcvar=${name}_enable
16
17 load_rc_config $name
18
19 : ${lcdproc_enable="NO"}
20 : ${lcdproc_conf="%%PREFIX%%/etc/lcdproc.conf"}
21 : ${lcdproc_flags="-c ${lcdproc_conf}"}
22
23 required_files=${lcdproc_conf}
24 command="%%PREFIX%%/bin/lcdproc"
25
26 run_rc_command "$1"