summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-newsticker/files/rc-addon.sh')
-rw-r--r--media-plugins/vdr-newsticker/files/rc-addon.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-plugins/vdr-newsticker/files/rc-addon.sh b/media-plugins/vdr-newsticker/files/rc-addon.sh
new file mode 100644
index 000000000000..424f920d10c3
--- /dev/null
+++ b/media-plugins/vdr-newsticker/files/rc-addon.sh
@@ -0,0 +1,12 @@
+#
+# rc-addon-script for plugin newsticker
+#
+
+plugin_pre_vdr_start() {
+ add_plugin_param "--output=/var/vdr/newsticker"
+}
+
+# for compatibility
+if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
+ plugin_pre_vdr_start
+fi