From 5e789401d477239873b5601bc6f14521f9495046 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Fri, 5 Apr 2019 21:35:13 +0200 Subject: [PATCH] Rename hwclock.so plugin to rtc.so since it's now stand-alone Signed-off-by: Joachim Nilsson --- ChangeLog.md | 5 ++++- docs/plugins.md | 3 +-- plugins/Makefile.am | 4 ++-- plugins/{hwclock.c => rtc.c} | 0 4 files changed, 7 insertions(+), 5 deletions(-) rename plugins/{hwclock.c => rtc.c} (100%) diff --git a/ChangeLog.md b/ChangeLog.md index a508224e..c0b8d091 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -32,7 +32,10 @@ Bug fix release. event, because services may depend on each other * Require new libuEv API: `uev_init1()` to reduce event cache so that the kernel can invalidate deleted events before enqueing to userspace - +* Rename `hwclock.so` plugin to `rtc.so` since it now is stand-alone + from the `hwclock` tool. Note: the kernel can also be set to load + and store RTC to/from system clock at boot/halt as well. + ### Fixes * Fix #96: Start udevd as a proper service diff --git a/docs/plugins.md b/docs/plugins.md index 3fc6b438..bdc96b4d 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -42,8 +42,7 @@ For your convenience a set of *optional* plugins are available: * *discard.so*: RFC 863 plugin. Start as inetd service, like time below. -* *hwclock.so*: Restore and save system clock from/to RTC on - startup/shutdown. +* *rtc.so*: Restore and save system clock from/to RTC on boot/halt. * *initctl.so*: Extends finit with a traditional `initctl` functionality. diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 73d7c7c9..b9d89138 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -7,7 +7,7 @@ AM_CPPFLAGS += $(lite_CFLAGS) if STATIC noinst_LTLIBRARIES = libplug.la -libplug_la_SOURCES = bootmisc.c hwclock.c initctl.c pidfile.c procps.c tty.c urandom.c +libplug_la_SOURCES = bootmisc.c rtc.c initctl.c pidfile.c procps.c tty.c urandom.c if BUILD_ALSA_UTILS_PLUGIN libplug_la_SOURCES += alsa-utils.c @@ -52,7 +52,7 @@ libplug_la_SOURCES += resolvconf.c endif else -pkglib_LTLIBRARIES = bootmisc.la hwclock.la initctl.la pidfile.la procps.la tty.la urandom.la +pkglib_LTLIBRARIES = bootmisc.la rtc.la initctl.la pidfile.la procps.la tty.la urandom.la if BUILD_ALSA_UTILS_PLUGIN pkglib_LTLIBRARIES += alsa-utils.la diff --git a/plugins/hwclock.c b/plugins/rtc.c similarity index 100% rename from plugins/hwclock.c rename to plugins/rtc.c