Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] runvdr and spaces in parameter-calls
Hi everybody,
my runvdr looks like this:
DVBDIR=/usr/local/src/DVB/driver
VDRPLUGINS=/usr/local/src/VDR/PLUGINS/lib
VDRPRG=/usr/local/src/VDR/vdr
VDRCMD="$VDRPRG --watchdog=40 \
--config=/etc/vdr \
--terminal=/dev/tty11 $* \
--lib=${VDRPLUGINS} \
--plugin=vcd \
--record=/usr/local/bin/noad"
LSMOD="`/sbin/lsmod | grep -w '^dvb' | wc -l`"
KILL="/usr/bin/killall -q -TERM"
cd $DVBDIR; make insmod
while (true) do
$VDRCMD
if test $? -eq 0 -o $? -eq 2; then exit; fi
date
echo "restarting VDR"
$KILL $VDRPRG
sleep 10
(cd $DVBDIR; make rmmod; make insmod)
date
done
This works just fine, however I want to add
--plugin='mp3 -m /usr/local/vdr/mount.sh -M /usr/local/vdr/mplayer.sh'
then vdr (?) fails to start "unkown option -- M" (exactly this
message).
Also when I change the last line to
--record='/usr/local/bin/noad --statisticfile=/video/noadstat'
it's just as if I had not stated anything at all, noad is not
executed. My problems seem to be the spaces in the parameters,
changing the ' to \" makes no difference :-/
System-Details: Debian Woody with 2.4.18, DVB-driver 1.0.1, vdr 1.2.5,
Elchi-AIOb3, Hermes MSI 651 barebone, Celeron-1800, 256 MB Infineon,
120 GB Maxtor, Toshiba 1712 DVD-Rom
I must be doing something wrong, any ideas what?
TIA Frederick
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index