Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-vdr
Navigation:
Lists: gentoo-vdr: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-vdr@g.o
From: Martin Dummer <martin.dummer@...>
Subject: Problem with /etc/init.d/vdr after upgrade to vdr-1.7.23
Date: Sun, 12 Feb 2012 13:53:03 +0100
Hi,

after upgrading vdr from 1.7.18 to 1.7.23 the init script does not find
a workung vdr, it just ends up with a timeout, although vdr is running well.

The reason for this is that /usr/bin/svdrpsend.pl was renamed to
/usr/bin/svdrpsend and the init script functions do not respect that.

The patch at the end of this mail is one approach to correct this behaviour.

Bye,

Martin

== 8< =================================



vdr ~ # diff -Nau /usr/share/vdr/rcscript/post-start-50-svdrp.sh.orig
/usr/share/vdr/rcscript/post-start-50-svdrp.sh
--- /usr/share/vdr/rcscript/post-start-50-svdrp.sh.orig 2012-02-09
23:30:35.000000000 +0100
+++ /usr/share/vdr/rcscript/post-start-50-svdrp.sh      2012-02-12
13:35:08.751630064 +0100
@@ -51,7 +51,13 @@
 }
 
 svdrp_ready() {
-       if /usr/bin/svdrpsend.pl -d ${SVDRP_HOSTNAME} -p ${SVDRP_PORT}
quit 2>/dev/null|grep -q ^220; then
+       if [ -e /usr/bin/svdrpsend.pl ]; then
+               SVDRPSEND=/usr/bin/svdrpsend.pl
+       else
+               SVDRPSEND=/usr/bin/svdrpsend
+       fi
+
+       if $SVDRPSEND -d ${SVDRP_HOSTNAME} -p ${SVDRP_PORT} quit
2>/dev/null|grep -q ^220; then
                # svdrp open and ready
                return 0
        fi






Replies:
Re: Problem with /etc/init.d/vdr after upgrade to vdr-1.7.23
-- Joerg Bornkessel
Navigation:
Lists: gentoo-vdr: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
VDR_LOCAL_PATCHES_DIR is deprcaded
Next by thread:
Re: Problem with /etc/init.d/vdr after upgrade to vdr-1.7.23
Previous by date:
VDR_LOCAL_PATCHES_DIR is deprcaded
Next by date:
Re: Problem with /etc/init.d/vdr after upgrade to vdr-1.7.23


Updated Mar 06, 2012

Summary: Archive of the gentoo-vdr mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.