1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Changed lcdproc client startup script to require config file, because

command line switch to daemonize is not supported as of version 0.5.1.

PR:		ports/105681
Submitted by:	Markus Dolze <bsdfan at nurfuerspam.de> (maintainer)
This commit is contained in:
Rong-En Fan 2006-11-21 07:24:32 +00:00
parent 0bfb9217db
commit 639e9b414e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177712
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= lcdproc
PORTVERSION= 0.5.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -17,8 +17,10 @@ rcvar=${name}_enable
load_rc_config $name
: ${lcdproc_enable="NO"}
: ${lcdproc_flags="-d C S M U"}
: ${lcdproc_conf="%%PREFIX%%/etc/lcdproc.conf"}
: ${lcdproc_flags="-c ${lcdproc_conf}"}
required_files=${lcdproc_conf}
command="%%PREFIX%%/bin/lcdproc"
run_rc_command "$1"