aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2012-03-05 23:00:01 +0100
committerJoerg Bornkessel <hd_brummy@gentoo.org>2012-03-05 23:00:01 +0100
commit728e822f17d8660c6dc1a2873d70e516e66dec22 (patch)
treecbd19ea7ae21a85ce9b497eb7694c03dd66fe0b7 /usr
parentBumped to version 0.5.1 (diff)
downloadgentoo-vdr-scripts-728e822f17d8660c6dc1a2873d70e516e66dec22.tar.gz
gentoo-vdr-scripts-728e822f17d8660c6dc1a2873d70e516e66dec22.tar.bz2
gentoo-vdr-scripts-728e822f17d8660c6dc1a2873d70e516e66dec22.zip
fixed --rcu handling, used from >=media-video/vdr-1.7.25 in plugin media-video/vdr-rcu
Diffstat (limited to 'usr')
-rw-r--r--usr/share/vdr/rcscript/pre-start-30-parameter.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/share/vdr/rcscript/pre-start-30-parameter.sh b/usr/share/vdr/rcscript/pre-start-30-parameter.sh
index 2fdfab7..623e404 100644
--- a/usr/share/vdr/rcscript/pre-start-30-parameter.sh
+++ b/usr/share/vdr/rcscript/pre-start-30-parameter.sh
@@ -34,7 +34,13 @@ addon_main() {
add_param "--lirc=/dev/lircd"
fi
;;
- rcu) add_param "--rcu" ;;
+ rcu) if [ "${VDRVERSNUM}" -ge "10725" ]; then
+ eerror "rcu parameter is depricated"
+ eerror "use media-plugins/vdr-rcu"
+ else
+ add_param "--rcu"
+ fi
+ ;;
esac
fi