Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337673 - media-tv/gentoo-vdr-scripts-0.4.7 shell syntax error prevents vdr from starting
Summary: media-tv/gentoo-vdr-scripts-0.4.7 shell syntax error prevents vdr from starting
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 17:34 UTC by Martin Dummer
Modified: 2010-09-18 20:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Dummer 2010-09-16 17:34:17 UTC
after upgrade of media-tv/gentoo-vdr-scripts to 0.4.7 my vdr does not start anymore. 


Reproducible: Always

Steps to Reproduce:
1. type "/etc/init.d/vdr start"
2. read output
3. stay coool

Actual Results:  
startup messages are:
 * Preparing start of vdr:
 *   Waiting for DVB devices ...                                                                                                                                [ ok ]
/usr/share/vdr/rcscript/pre-start-30-parameter.sh: line 32: syntax error near unexpected token `;;'
/usr/share/vdr/rcscript/pre-start-30-parameter.sh: line 32: `                                   add_param "--lirc=/var/run/lirc/lircd" ;;'
 * Addon /usr/share/vdr/rcscript/pre-start-30-parameter.sh failed.





The problem can be fixed with the following patch:

--- /usr/share/vdr/rcscript/pre-start-30-parameter.sh.orig      2010-09-16 19:21:42.135258666 +0200
+++ /usr/share/vdr/rcscript/pre-start-30-parameter.sh   2010-09-16 19:21:51.456588384 +0200
@@ -29,7 +29,7 @@
        if [ -n "${CAP_IRCTRL_RUNTIME_PARAM}" ] && [ -n "${IR_CTRL}" ]; then
                case "${IR_CTRL}" in
                        lirc)   if [ -e /var/run/lirc/lircd ]; then
-                                       add_param "--lirc=/var/run/lirc/lircd" ;;
+                                       add_param "--lirc=/var/run/lirc/lircd"
                                else
                                        add_param "--lirc=/dev/lircd"
                                fi



Please insert the patch into your repository....
Comment 1 Joerg Bornkessel (RETIRED) gentoo-dev 2010-09-18 20:25:04 UTC
<snip ChangeLog>
  06 Sep 2010; Joerg Bornkessel <hd_brummy@g.org>
  gentoo-vdr-scripts-0.4.7.ebuild:
  syntax error fixed

*gentoo-vdr-scripts-0.4.7 (05 Sep 2010)

</snap>

this is fixed any houres after commit,

plz resync, reemerge,