summarylogtreecommitdiffstats
path: root/ntpdsync.hook
diff options
context:
space:
mode:
authorJohn Mark Gabriel Caguicla2021-02-04 22:51:00 -0600
committerJohn Mark Gabriel Caguicla2021-02-04 22:51:00 -0600
commitbe021552e32cae6fb7dfe6aa17cb5db6859003a5 (patch)
treef36eefaf9ce139e826fc9618cac0a74c2b2fcb25 /ntpdsync.hook
downloadaur-mkinitcpio-ntpdsync.tar.gz
First release
Diffstat (limited to 'ntpdsync.hook')
-rw-r--r--ntpdsync.hook5
1 files changed, 5 insertions, 0 deletions
diff --git a/ntpdsync.hook b/ntpdsync.hook
new file mode 100644
index 000000000000..d8cf142d4b51
--- /dev/null
+++ b/ntpdsync.hook
@@ -0,0 +1,5 @@
+#!/bin/ash
+
+run_hook() {
+ /usr/bin/ntpd -gq
+}