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:
parent
87f7e826a1
commit
98fe8d8f86
@ -1422,6 +1422,8 @@ Udo Richter <udo_richter@gmx.de>
|
||||
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
|
||||
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>
|
||||
for his help in keeping 'channels.conf.terr' up to date
|
||||
|
2
HISTORY
2
HISTORY
@ -4694,3 +4694,5 @@ Video Disk Recorder Revision History
|
||||
- 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
|
||||
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
4
runvdr
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user