639e9b414e
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)
26 lines
417 B
Bash
26 lines
417 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: lcdproc
|
|
# REQUIRE: LCDd
|
|
#
|
|
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
|
# SET THEM IN THE /etc/rc.conf FILE
|
|
#
|
|
|
|
. %%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"
|