Mailing List archive

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

[vdr] Re: Problems with exit-states (VDR-1.2.2)



Rene Bartsch wrote:
> 
> Am Son, 2003-08-31 um 21.34 schrieb Klaus Schmidinger:
> 
> >
> > Ok, I'll consider this case closed then - unless you find an actual problem.
> >
> 
> Back again. But I think it a parsing problem in my init-script. After
> looking around for the bug several weeks, now, I've decided to post the
> init-script and the configs on the ML (see attachment).
> 
> Maybe someone finds the problem.
> 
> The init-script is for SystemV-style Linux (developed on Mandrake9.1).
> 
> I'm sure it's something easy like missing/wrong quotations, but I don't
> find it.

I took a quick glance over your sample conf files.
Maybe it's just me, but aren't you doing things unnecessarily complicated?
For example, in control.conf there are lines like

CONTROL_TTY="/dev/tty9"

and further down there's

control="$(if test -n "$CONTROL_TTY"; then echo "--terminal=$CONTROL_TTY"; fi)\
         $(if test -n "$CONTROL_PORT"; then echo "--port=$CONTROL_PORT"; fi)\
        "

Why do you write the same information twice?
Wouldn't it be sufficient to just write

--terminal="/dev/tty9"

as I have suggested in my recently posted example? This would also
save you from having to write "DO NOT CHANGE ANYTHING BEYOND THIS LINE".

Maybe I'm blind, but I don't see the advantage of your method...

Klaus


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



Home | Main Index | Thread Index