1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added 'eval' to the $VDRCMD call in 'runvdr' to avoid problems with quoting

This commit is contained in:
Klaus Schmidinger 2006-05-01 14:52:19 +02:00
parent 87f7e826a1
commit 98fe8d8f86
3 changed files with 6 additions and 2 deletions

View File

@ -1422,6 +1422,8 @@ Udo Richter <udo_richter@gmx.de>
for providing a shorter version of the 'sed' expression for extracting APIVERSION for providing a shorter version of the 'sed' expression for extracting APIVERSION
for fixing a bug in handling the "Power" key in case a recording is going on and for fixing a bug in handling the "Power" key in case a recording is going on and
no plugin is active no plugin is active
for suggesting to add 'eval' to the $VDRCMD call in 'runvdr' to avoid problems with
quoting
Sven Kreiensen <svenk@kammer.uni-hannover.de> Sven Kreiensen <svenk@kammer.uni-hannover.de>
for his help in keeping 'channels.conf.terr' up to date for his help in keeping 'channels.conf.terr' up to date

View File

@ -4694,3 +4694,5 @@ Video Disk Recorder Revision History
- Adjusted the 'runvdr' script so that the user can fill in the functions to - Adjusted the 'runvdr' script so that the user can fill in the functions to
detect, load and unload the necessary driver modules (thanks to M. Kiesel for detect, load and unload the necessary driver modules (thanks to M. Kiesel for
reporting that it still used DVBDIR). reporting that it still used DVBDIR).
- Added 'eval' to the $VDRCMD call in 'runvdr' to avoid problems with quoting
(suggested by Udo Richter).

4
runvdr
View File

@ -20,7 +20,7 @@
# See the main source file 'vdr.c' for copyright information and # See the main source file 'vdr.c' for copyright information and
# how to reach the author. # how to reach the author.
# #
# $Id: runvdr 1.17 2006/05/01 13:33:31 kls Exp $ # $Id: runvdr 1.18 2006/05/01 14:51:00 kls Exp $
VDRPRG="./vdr" VDRPRG="./vdr"
VDRCMD="$VDRPRG -w 60 $*" VDRCMD="$VDRPRG -w 60 $*"
@ -51,7 +51,7 @@ if ! DriverLoaded; then
fi fi
while (true) do while (true) do
$VDRCMD eval "$VDRCMD"
if test $? -eq 0 -o $? -eq 2; then exit; fi if test $? -eq 0 -o $? -eq 2; then exit; fi
echo "`date` reloading DVB driver" echo "`date` reloading DVB driver"
$KILL $VDRPRG $KILL $VDRPRG