[vdr] shutdown-hook timezone?
Gerald Dachs
vdr at dachsweb.de
Thu Dec 18 15:06:19 CET 2008
Hi Hanno,
Quoting Hanno Zulla <abos at hanno.de>:
> Hi,
>
> what is the timezone of the "next timer" Unixtime/time_t parameter that
> vdr passes to the shutdown-hooks?
Not from knowledge but from experience I can say it is localtime. Your
vdr-addon-acpiwakeup script works only if localtime is UTC and
/sys/class/rtc/rtc0/wakealarm expects POSIX epoch, so it must be localtime.
Gerald
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the vdr
mailing list