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
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
|
|