summaryrefslogtreecommitdiff
path: root/pm/sleep.d/90clock
diff options
context:
space:
mode:
Diffstat (limited to 'pm/sleep.d/90clock')
-rwxr-xr-xpm/sleep.d/90clock5
1 files changed, 5 insertions, 0 deletions
diff --git a/pm/sleep.d/90clock b/pm/sleep.d/90clock
index f69c8c9..985b266 100755
--- a/pm/sleep.d/90clock
+++ b/pm/sleep.d/90clock
@@ -1,4 +1,9 @@
#!/bin/sh
+# Synchronize system time with hardware time.
+# TODO: Split NTP handling to its own hook. Having it here is ugly and silly.
+# Do modern kernels handle this correctly? If so, we should detect that
+# and skip this hook.
+
. "${PM_FUNCTIONS}"
NTPD_LOCK="pm-ntpd.lock"