vdr/vdr/debian runvdr

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 09 May 2004 15:35:40 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv10134/vdr/vdr/debian

Modified Files:
	runvdr 
Log Message:
made changes as suggested by Thomas Günter (plugin-options are now working)

Index: runvdr
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/runvdr,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- runvdr	9 May 2004 14:09:20 -0000	1.3
+++ runvdr	9 May 2004 15:35:38 -0000	1.4
@@ -2,7 +2,8 @@
 #
 #
 
-OPTIONS=$*
+OPTIONS="$*"
+VDRCMD="LD_ASSUME_KERNEL=2.4 /usr/bin/vdr $OPTIONS"
 
 KVERS=`uname -r | grep -e '2.6'`
 if [ -z "$KVERS" ]; then
@@ -14,7 +15,7 @@
 MODULES="$MODULES dvb-core"
 
 while (true) do
-      LD_ASSUME_KERNEL=2.4 /usr/bin/vdr $OPTIONS >/dev/null 2>&1
+      eval $VDRCMD >/dev/null 2>&1
       if test $? -eq 0; then exit; fi
       logger "restarting VDR"
       /usr/bin/killall -q -TERM /usr/bin/vdr