diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2012-03-05 23:00:01 +0100 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2012-03-05 23:00:01 +0100 |
commit | 728e822f17d8660c6dc1a2873d70e516e66dec22 (patch) | |
tree | cbd19ea7ae21a85ce9b497eb7694c03dd66fe0b7 | |
parent | Bumped to version 0.5.1 (diff) | |
download | gentoo-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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | usr/share/vdr/rcscript/pre-start-30-parameter.sh | 8 |
2 files changed, 12 insertions, 1 deletions
@@ -1,6 +1,11 @@ # ChangeLog for gentoo-vdr-scripts # $Id$ + 05 Mar 2012; Joerg Bornkessel <hd_brummy@gentoo.org> + usr/share/vdr/rcscript/pre-start-30-parameter.sh: + fixed --rcu handling, used from >=media-video/vdr-1.7.25 in plugin + media-video/vdr-rcu + *gentoo-vdr-scripts-0.5.1 (24 Feb 2012) 24 Feb 2012; Joerg Bornkessel <hd_brummy@gentoo.org> bump.sh, etc/init.d/vdr: 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 |