summaryrefslogtreecommitdiff
path: root/sysutils/lcdproc/files/LCDd.in
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-05-03 19:01:48 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-05-03 19:01:48 +0000
commit08f03c80c5fa49bf02eea542727f83db63ba269a (patch)
treec0f9139ea7a8d952a7d9c07dce4a50d7ca02d1e3 /sysutils/lcdproc/files/LCDd.in
parentetc/ld.so.conf.d seems to be something new in FC4, at least it doesn't (diff)
- Something's wrong on last commit. cvs only commit Makefile.
Notified by: krismail
Notes
Notes: svn path=/head/; revision=161290
Diffstat (limited to 'sysutils/lcdproc/files/LCDd.in')
-rw-r--r--sysutils/lcdproc/files/LCDd.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/lcdproc/files/LCDd.in b/sysutils/lcdproc/files/LCDd.in
new file mode 100644
index 000000000000..cc325a0c612b
--- /dev/null
+++ b/sysutils/lcdproc/files/LCDd.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# PROVIDE: LCDd
+# REQUIRE: DAEMON
+#
+# DO NOT CHANGE THESE DEFAULT VALUES HERE
+# SET THEM IN THE /etc/rc.conf FILE
+#
+
+. %%RC_SUBR%%
+
+name="LCDd"
+rcvar=${name}_enable
+
+load_rc_config $name
+
+: ${LCDd_enable="NO"}
+: ${LCDd_conf="%%PREFIX%%/etc/LCDd.conf"}
+: ${LCDd_flags="-c ${LCDd_conf}"}
+
+required_files=${LCDd_conf}
+command="%%PREFIX%%/sbin/LCDd"
+
+run_rc_command "$1"