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

4
runvdr
View File

@@ -20,7 +20,7 @@
# See the main source file 'vdr.c' for copyright information and
# 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"
VDRCMD="$VDRPRG -w 60 $*"
@@ -51,7 +51,7 @@ if ! DriverLoaded; then
fi
while (true) do
$VDRCMD
eval "$VDRCMD"
if test $? -eq 0 -o $? -eq 2; then exit; fi
echo "`date` reloading DVB driver"
$KILL $VDRPRG