55 |
diff -Nur e-smith-ntp-2.6.0.old/root/sbin/e-smith/systemd/initializedate e-smith-ntp-2.6.0/root/sbin/e-smith/systemd/initializedate |
diff -Nur e-smith-ntp-2.6.0.old/root/sbin/e-smith/systemd/initializedate e-smith-ntp-2.6.0/root/sbin/e-smith/systemd/initializedate |
56 |
--- e-smith-ntp-2.6.0.old/root/sbin/e-smith/systemd/initializedate 1969-12-31 19:00:00.000000000 -0500 |
--- e-smith-ntp-2.6.0.old/root/sbin/e-smith/systemd/initializedate 1969-12-31 19:00:00.000000000 -0500 |
57 |
+++ e-smith-ntp-2.6.0/root/sbin/e-smith/systemd/initializedate 2020-11-26 23:10:27.667000000 -0500 |
+++ e-smith-ntp-2.6.0/root/sbin/e-smith/systemd/initializedate 2020-11-26 23:10:27.667000000 -0500 |
58 |
@@ -0,0 +1,21 @@ |
@@ -0,0 +1,19 @@ |
59 |
+#!/bin/bash |
+#!/bin/bash |
60 |
+#first move old drift file if in the way |
+#first move old drift file if in the way |
61 |
+OLDFILE='/etc/ntp/drift' |
+OLDFILE='/etc/ntp/drift' |
69 |
+ /usr/bin/mv $OLDFILE $NEWFILE |
+ /usr/bin/mv $OLDFILE $NEWFILE |
70 |
+ fi |
+ fi |
71 |
+fi |
+fi |
72 |
+if [ -f "$NEWFILE" ]; then |
+/usr/bin/chown ntp:ntp $NEWFILE |
|
+ /usr/bin/chown ntp:ntp $NEWFILE |
|
|
+fi |
|
73 |
+ |
+ |
74 |
+# Run ntpdate so we're not way off on startup. |
+# Run ntpdate so we're not way off on startup. |
75 |
+ntpstep=/etc/ntp/step-tickers |
+ntpstep=/etc/ntp/step-tickers |