Re: VDR shutdown question

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

 



Norbert Goebel schrieb:
> Hi,
>
> as always it's a problem of knowing how to do what you want to do.
> I for example am trying and trying to get rid of the onscreen message 
> "Taste drücken, um Ausschalten abzubrechen" automatically, but somehow 
> commands like
> $svdrpsend HITK Ok > /dev/nulll &
> with svdrpsend=/usr/lib/vdr/svdrpsend.pl
>
> do not get through to vdr when issued in a shutdown-hook script (debian 
> vdr), but work flawlessly when issued by hand.
> Any suggestions on that problem?
>
> My biggest problem might be understanding how to make an intelligent 
> shutdownscript for vdr and there are almost no examples given - if you 
> got a longer "example" I would be glad to learn from it ;)
>
> Regards,
> Norbert
>
>   

Hi,

after some more trial and error I recognized, that the shutdown-hooks 
are called after the timeout for a key-press to abort the shutdown by 
hand has accured.
This leads to 5 minutes "Taste drücken, um Ausschalten abzubrechen" 
being displayed on screen, so sending a key with svdrp to kill this 
annoying message (at least in times where a shutdown is not allowed due 
to shutdown-hooks) is no option.
Even trying to handle the situation in a shutdown-hook at all is no 
option as they seem to be called after the "key-press to abort 
shutdown"-timeout.

Seems like I have to options to work around this
a) with a cron script sending svdrp HITK messages every minute as long 
as shutdowns are not wanted
b) with a plugin creating fake activity while shutdowns are not wanted

Regards,
Norbert

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux