Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: 'cause' parameter for shutdown
Klaus.Schmidinger@cadsoft.de(Klaus Schmidinger) 28.10.01 21:21
>vdr.c:
>#define SHUTDOWNWAIT 300 // seconds to wait in user prompt before
>automatic shutdown ...
> if (Interface->Confirm(tr("Press any key to cancel shutdown"),
>LastActivity == 1 ? 5 : SHUTDOWNWAIT, true)) {
>'LastActivity' is set to 1 in case of a user initiated shutdown, so
>VDR waits only 5 seconds in that case. Isn't that short enough?
That's ok.
The same functionality i want to implement into the power down script.
But i currently do not see how to determine the "cause".
Rainer
Home |
Main Index |
Thread Index