1 |
jpp |
1.1 |
diff -Nur --no-dereference 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 |
2 |
|
|
--- e-smith-ntp-2.6.0.old/root/sbin/e-smith/systemd/initializedate 2023-02-06 01:51:51.602000000 -0500 |
3 |
|
|
+++ e-smith-ntp-2.6.0/root/sbin/e-smith/systemd/initializedate 2023-02-06 02:04:08.492000000 -0500 |
4 |
|
|
@@ -11,7 +11,9 @@ |
5 |
|
|
/usr/bin/mv $OLDFILE $NEWFILE |
6 |
|
|
fi |
7 |
|
|
fi |
8 |
|
|
-/usr/bin/chown ntp:ntp $NEWFILE |
9 |
|
|
+if [ -f "$NEWFILE" ]; then |
10 |
|
|
+ /usr/bin/chown ntp:ntp $NEWFILE |
11 |
|
|
+fi |
12 |
|
|
|
13 |
|
|
# Run ntpdate so we're not way off on startup. |
14 |
|
|
ntpstep=/etc/ntp/step-tickers |