aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/scripts/rc/rc.d/TIMESYNC
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/scripts/rc/rc.d/TIMESYNC')
-rw-r--r--contrib/ntp/scripts/rc/rc.d/TIMESYNC8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/ntp/scripts/rc/rc.d/TIMESYNC b/contrib/ntp/scripts/rc/rc.d/TIMESYNC
new file mode 100644
index 000000000000..a8c074fd4865
--- /dev/null
+++ b/contrib/ntp/scripts/rc/rc.d/TIMESYNC
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# PROVIDE: TIMESYNC
+# REQUIRE: LOGIN ntpwait
+
+# This depedency ensures that all services which require stable system clock
+# are run after ntpd is synchronized. It's run as late as possible, if you need
+# stable clock before login use BEFORE: LOGIN