diff options
Diffstat (limited to 'services')
-rw-r--r-- | services/Makemodule.am | 4 | ||||
-rw-r--r-- | services/swclocksave.gcron.in | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/services/Makemodule.am b/services/Makemodule.am index ac297a6..5ca304c 100644 --- a/services/Makemodule.am +++ b/services/Makemodule.am @@ -10,6 +10,10 @@ init_DATA += services/network services/hostapd services/swclock init_DATA += services/swclocksave services/nft services/sigkill init_DATA += services/sshd services/sshd_keygen services/consolefont +if GCROND +init_DATA += services/swclocksave.gcron +endif + if USYSLOGD init_DATA += services/usyslogd endif diff --git a/services/swclocksave.gcron.in b/services/swclocksave.gcron.in new file mode 100644 index 0000000..24e162b --- /dev/null +++ b/services/swclocksave.gcron.in @@ -0,0 +1,3 @@ +interval hourly +tty truncate @STATEFILESPATH@/swclock +exec date --utc +%%m%%d%%H%%M%%Y.%%S |