Files
finit/plugins
Joachim Wiberg 6be16f2f6d Fix buggy --with-rtc-date=DATE, introduced in Finit v4.4
In 42ef3d3c, for v4.4-rc1, support for setting a custom RTC restore date
was introduced.  Unfortunately the configure script was wrong and caused
config.h to contain

    #define RTC_TIMESTAMP_CUSTOM "$rtc_date"

instead of

    #define RTC_TIMESTAMP_CUSTOM "2023-04-10 14:35:42"

Furthermore, the error handling for strptime() was wrong, so the restore
date was always reverted to the default.

This patch fixes both issues and extends the DATE of --with-rtc-date to
also include seconds.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2024-11-04 10:42:45 +01:00
..
2024-01-07 01:50:50 +01:00
2024-01-07 01:50:50 +01:00
2024-01-07 01:50:50 +01:00
2024-01-07 01:50:50 +01:00
2024-01-07 01:50:50 +01:00
2024-01-07 01:50:50 +01:00
2024-01-07 01:50:50 +01:00
2024-01-07 01:50:50 +01:00
2024-01-07 01:50:50 +01:00
2024-04-28 19:38:03 +02:00
2024-01-07 01:50:50 +01:00
2024-01-07 01:50:50 +01:00