Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: bash problem in runvdr



Hi,

Zuliani Guido <Guido.Zuliani@ceda.polimi.it> schrieb(en)/wrote:

> 	./vdr -Pdvd -P"mp3 -m /video/plugins/mount.sh" -P"mplayer - m
> /video/plugins/mount.sh -M /video/plugins/mplayer.sh"
> 
> I want to use the same command in runvdr, but (as aspected) " cause
> problem... I tried a lot of combination .... but I could not find a
> correct syntax in place of (****)
> 
> ----------------------------------------------------- runvdr 
> VDRPRG="/usr/src/VDR/vdr" 
> VDRCMD="$VDRPRG -L /usr/src/VDR/PLUGINS/lib -Pdvd -P(****)  -w 60 -s
> /root/shutdown $*" 
> ......
> ......
> 
> while (true) 
> ----------------------------------------------------- runvdr 
> 
>  I tried somethings like:
...

Could you try to use either:

VDRCMD='/usr/src/VDR/vdr -L /usr/src/VDR/PLUGINS/lib -Pdvd -P"mp3 -m
/video/plugins/mount.sh" -P"mplayer - m /video/plugins/mount.sh -M
/video/plugins/mplayer.sh"  -w 60 -s >/root/shutdown $*'

(all in one single quoted variable) or a construct like the following
(breaking the quotation into different parts. Make sure quotation is
properly done in pairs...):

VDRPRG="/usr/src/VDR/vdr" 
VDRCMD="$VDRPRG"' -L /usr/src/VDR/PLUGINS/lib -Pdvd -P(****)  -w 60 -s
/root/shutdown $*'

Hope it helps - good luck!


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index