blob: 674afff639698642a5c668c6f089d05b6d8160e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
# 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=lcdexec_enable
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"
|