forked from Lainports/freebsd-ports
- 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:
parent
0bfb9217db
commit
639e9b414e
2 changed files with 4 additions and 1 deletions
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= lcdproc
|
||||
PORTVERSION= 0.5.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue