summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-03-06 06:07:44 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-03-06 06:07:44 +0000
commit2924aa25c4f5c69f7edcc13eba31e90b16024023 (patch)
treed18f303cb91d4610eefd37c0f38f4cda972fa24c /media-plugins/vdr-launcher/files/rc-addon.sh
parentNew upstream version; Use our Gentoo ports of app-emacs/cedet or app-emacs/sp... (diff)
downloadgentoo-2-2924aa25c4f5c69f7edcc13eba31e90b16024023.tar.gz
gentoo-2-2924aa25c4f5c69f7edcc13eba31e90b16024023.tar.bz2
gentoo-2-2924aa25c4f5c69f7edcc13eba31e90b16024023.zip
Imported ebuild from gentoo.de. Added new conf-file/rc-script.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'media-plugins/vdr-launcher/files/rc-addon.sh')
-rw-r--r--media-plugins/vdr-launcher/files/rc-addon.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/media-plugins/vdr-launcher/files/rc-addon.sh b/media-plugins/vdr-launcher/files/rc-addon.sh
new file mode 100644
index 000000000000..be2b2f599d36
--- /dev/null
+++ b/media-plugins/vdr-launcher/files/rc-addon.sh
@@ -0,0 +1,17 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-launcher/files/rc-addon.sh,v 1.1 2006/03/06 06:07:44 zzam Exp $
+#
+# rc-addon plugin-startup-skript for vdr-launcher
+#
+
+plugin_pre_vdr_start() {
+ local p
+ for p in ${VDR_LAUNCHER_EXCLUDE}; do
+ add_plugin_param "-x ${p}"
+ done
+}
+
+
+# for compatibility
+if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
+ plugin_pre_vdr_start
+fi