[vdr bug]Shutdown during an active timer is broken

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

 



Klaus Schmidinger wrote:
> As a safety precaution, in case the user turned off VDR and ignored
> all the warnings, let's just tell the shutdown script to reboot it
> at, say, five minutes in the future (in case a recording is going on)
> or whenever the next timer hits after that time.

I'm not sure whether I like the idea that VDR starts again after 5 
minutes, probably just in that moment when I am plugging a PCI card or 
something like that. (Yes, you're *supposed* to pull the plug first. You 
really do? ;) )

Anyway, 5 mins is too short, anything less that 10 mins will be denied 
by nvram-wakeup default configuration.

> If the user doesn't want this to happen, then he/she can simply go
> into the Timers menu and turn timers off as desired. 

I don't have a problem with disabling the offending timers manually. I 
just wrote the patch because of the request.

Its just a bit strange that VDR requires extra confirmation, and then 
nvram-wakeup denies shutdown anyway. (or other shoudown scrips doing 
even more strange things)

On a side note: With some scripting-fu, it should be possible to disable 
the offending timers from the shutdown script via SVDRP, and then 
request the new reboot time also via SVDRP.

Cheers,

Udo



[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