summaryrefslogtreecommitdiff
path: root/services/hwclock.in
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-02-25 14:33:19 +0100
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-03-24 17:04:20 +0100
commit9a88f7da453eadc72d8f333700dbd80777feecd1 (patch)
tree8a096e37123ece1d20bcb4d0ae8e064bdd39747a /services/hwclock.in
Initial commit
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'services/hwclock.in')
-rw-r--r--services/hwclock.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/services/hwclock.in b/services/hwclock.in
new file mode 100644
index 0000000..b558493
--- /dev/null
+++ b/services/hwclock.in
@@ -0,0 +1,6 @@
+name = "hwclock"
+description = "restore time from RTC"
+exec = "@SBINPATH@/hwclock --hctosys --utc"
+type = wait
+target = boot
+before = sysinit