Matthias Schwarzott wrote: > I think a much easier solution (implementable in runvdr/vdr-initscript) is: > Write down wakeup-time when shutting down and comparing that to time when > system/vdr starts (with some margin). That would be the way I would do it. Reconstructing the reason for shutdown after the restart is ok for just timers, but with different reasons this is way too complex and error-prone. Cheers, Udo