summaryrefslogtreecommitdiff
path: root/services/swclock.in
diff options
context:
space:
mode:
Diffstat (limited to 'services/swclock.in')
-rw-r--r--services/swclock.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/services/swclock.in b/services/swclock.in
new file mode 100644
index 0000000..02c4c27
--- /dev/null
+++ b/services/swclock.in
@@ -0,0 +1,6 @@
+description restore saved time from last shutdown
+type wait
+target boot
+before sysinit
+after vfs modules
+exec xargs -a @STATEFILESPATH@/swclock date --utc