summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-imonlcd/files/rc-addon.sh')
-rw-r--r--media-plugins/vdr-imonlcd/files/rc-addon.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-plugins/vdr-imonlcd/files/rc-addon.sh b/media-plugins/vdr-imonlcd/files/rc-addon.sh
new file mode 100644
index 0000000..7bc17d5
--- /dev/null
+++ b/media-plugins/vdr-imonlcd/files/rc-addon.sh
@@ -0,0 +1,11 @@
+#
+# rc-addon-script for plugin imonlcd
+#
+
+: ${IMONLCD_DEV:=/dev/lcd0}
+: ${IMONLCD_MODE:=ffdc}
+
+plugin_pre_vdr_start() {
+ add_plugin_param "-d ${IMONLCD_DEV}"
+ add_plugin_param "-p ${IMONLCD_MODE}"
+}