ports/sysutils/lcdproc/files/lcdexec.in
Doug Barton 1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00

26 lines
415 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: lcdexec
# REQUIRE: LCDd
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
# SET THEM IN THE /etc/rc.conf FILE
#
. /etc/rc.subr
name="lcdexec"
rcvar=`set_rcvar`
load_rc_config $name
: ${lcdexec_enable="NO"}
: ${lcdexec_conf="%%PREFIX%%/etc/lcdexec.conf"}
: ${lcdexec_flags="-c ${lcdexec_conf}"}
required_files=${lcdexec_conf}
command="%%PREFIX%%/bin/lcdexec"
run_rc_command "$1"