summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2006-01-08 15:36:55 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2006-01-08 15:36:55 +0000
commit517eb61d007589565234035228e5967f77434d5c (patch)
tree04543d13c3633f9cfcd3108c651a3e25b2823bed /media-plugins/vdr-graphlcd/files/rc-addon.sh
parentMarked stable on x86 for bug #116310. (diff)
downloadgentoo-2-517eb61d007589565234035228e5967f77434d5c.tar.gz
gentoo-2-517eb61d007589565234035228e5967f77434d5c.tar.bz2
gentoo-2-517eb61d007589565234035228e5967f77434d5c.zip
initial import; find older versions on gentoo.de CVS
(Portage version: 2.0.53)
Diffstat (limited to 'media-plugins/vdr-graphlcd/files/rc-addon.sh')
-rw-r--r--media-plugins/vdr-graphlcd/files/rc-addon.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/media-plugins/vdr-graphlcd/files/rc-addon.sh b/media-plugins/vdr-graphlcd/files/rc-addon.sh
new file mode 100644
index 000000000000..089283f9bc60
--- /dev/null
+++ b/media-plugins/vdr-graphlcd/files/rc-addon.sh
@@ -0,0 +1,17 @@
+#
+# rc-addon-script for plugin osdteletext
+#
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphlcd/files/rc-addon.sh,v 1.1 2006/01/08 15:36:55 hd_brummy Exp $
+
+plugin_pre_vdr_start() {
+ : ${GRAPHLCD_DIR:=/etc/vdr/plugins/graphlcd/graphlcd.conf}
+ : ${GRAPHLCD_DISPLAY:=t6963c}
+
+ add_plugin_param "-c ${GRAPHLCD_DIR}"
+ add_plugin_param "-d ${GRAPHLCD_DISPLAY}"
+}
+
+# for compatibility
+if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
+ plugin_pre_vdr_start
+fi