Mailing List archive

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

[vdr] Re: Power down problem



On 3 Nov 2001, Rainer Zocholl wrote:

RZ>
RZ> The power-off programms realizes the wake-up time in the past and
RZ> does nothing, of cause.
RZ> VDR should give the next event which is more than 10 minutes
RZ> in the future. ("10 minutes" because nvram-wakeup
RZ> refuses to shut down for less than 10 minutes. But the user

you can change the value WAKEUP_BEFORE in nvram-wakeup.h

I don't know what would happen if you set this number to a negative one,
but it doesn't make any sense to set the wakeup time in the past (which
would mean 'next month', as you mentioned in another mail)

I think the shutdown script (the one called by VDR, the one which
calls nvram-wakeup) should check if the time is in the past and decide
what to do. (disable nvram-wakeup? do nothing? just shutdown the box? -
users choice)


c ya
        Sergei

--------------------------------------------------------------------
         eMail:       Sergei.Haller@math.uni-giessen.de
--------------------------------------------------------------------
Be careful of reading health books, you might die of a misprint.
                -- Mark Twain




Home | Main Index | Thread Index