From 49fe9bd77db951bf7daec435f69502807e41c2c4 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 23 Nov 2018 12:13:06 +0100 Subject: Implement init/cron split Signed-off-by: David Oberhollenzer --- crontab/Makemodule.am | 2 ++ crontab/swclock.in | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 crontab/Makemodule.am create mode 100644 crontab/swclock.in (limited to 'crontab') diff --git a/crontab/Makemodule.am b/crontab/Makemodule.am new file mode 100644 index 0000000..2fe3424 --- /dev/null +++ b/crontab/Makemodule.am @@ -0,0 +1,2 @@ +crondir = @GCRONDIR@ +cron_DATA = crontab/swclock diff --git a/crontab/swclock.in b/crontab/swclock.in new file mode 100644 index 0000000..b5ae7af --- /dev/null +++ b/crontab/swclock.in @@ -0,0 +1,2 @@ +5 */4 * * * @SCRIPTDIR@/setntpdate.sh > /dev/null +@hourly date --utc +%%m%%d%%H%%M%%Y.%%S > @STATEFILESPATH@/swclock -- cgit v1.2.3