aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lcdproc/files/lcdproc.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/lcdproc/files/lcdproc.in')
-rw-r--r--sysutils/lcdproc/files/lcdproc.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/sysutils/lcdproc/files/lcdproc.in b/sysutils/lcdproc/files/lcdproc.in
new file mode 100644
index 000000000000..994a5c08b288
--- /dev/null
+++ b/sysutils/lcdproc/files/lcdproc.in
@@ -0,0 +1,24 @@
+#!/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_flags="-d C S M U"}
+
+command="%%PREFIX%%/bin/lcdproc"
+
+run_rc_command "$1"