Mailing List archive

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

[vdr] Re: start by system-v script



quoting mailinglists@peess.de (mailinglists@peess.de)
sent: Wed, Apr 16, 2003 at 11:44:50PM +0200

> hi ml,
>
> i'm currently trying to switch from vdr-1.04-aio to vanilla vdr-1.1.x,
but
> one strange behaviour is still a show stopper:
> started at system-start by a system-v script, only version 1.04 accepts
> tty1 as stdin, vdr-1.1.27 doesn't even
> request the key setup ( if remote.conf doesn't exist ).
> started _from shell_ both do work flawless, it's just vdr-1.1.27's
> non-interactive start on tty1.
> /var/log/messages does indicate a normal start, it even switches to
last
> tv-channel and runs in background as usual.
> started from shell, all keys get grabbed on tty1, but started from
script,
> all keys appear on the ( non-login ) console.
>
> i don't have a working irda system setup yet, so testing with a remote
is
> not yet an option... but don't want to depend solely on it anyway.
>
> short:
> '/etc/init.d/vdr-1.0.x start' works
> '/etc/init.d/vdr-1.0.x stop'
> '/etc/init.d/vdr-1.1.x start' doesn't work
>
> '/opt/vdr-1.1.27/bin/vdr --config=/opt/vdr-1.1.27/etc/
> --epgfile=/mnt/tmpfs/epg.data
> --shutdown=/opt/scripts/system_shutdown  --terminal=/dev/tty1
> --video=/home/media/dvb &'
> works as did vdr-1.04
>
> probably it's a bug in vdr-1.1.x, or maybe a dropped feature...
> is there a helpful soul that can enlighten me? anyone?
>
> bye,
> daniel
>

hi ml,

i just found out the following:
it does also work with vdr-1.1.27 if i neither give the '--daemon' option
to vdr, nor give the '--background' option to the start-stop-daemon.
but then the shell ( where it gets started from ) is still waiting for its
exit, that's no good if started on system init.

vdr-1.0.4 doesn't accept the '--daemon' option, putting out:
...
starting 'video disc recorder' daemon: vdrvdr: can't run in daemon mode
with DEBUG_OSD or REMOTE_KBD on!
...

but in combination with '--background' it works. why doesn't vdr-1.1.27 do
the same? it also doesn't show the warning above...

bye,
daniel


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



Home | Main Index | Thread Index