--- rpms/e-smith-ntp/sme10/e-smith-ntp-2.6.0-bz11008-bz8881-improve-systemd-driftfile.patch 2023/02/06 06:58:10 1.11 +++ rpms/e-smith-ntp/sme10/e-smith-ntp-2.6.0-bz11008-bz8881-improve-systemd-driftfile.patch 2023/02/06 07:13:17 1.12 @@ -55,7 +55,7 @@ diff -Nur e-smith-ntp-2.6.0.old/root/etc 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 --- 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/root/sbin/e-smith/systemd/initializedate 2020-11-26 23:10:27.667000000 -0500 -@@ -0,0 +1,21 @@ +@@ -0,0 +1,19 @@ +#!/bin/bash +#first move old drift file if in the way +OLDFILE='/etc/ntp/drift' @@ -69,9 +69,7 @@ diff -Nur e-smith-ntp-2.6.0.old/root/sbi + /usr/bin/mv $OLDFILE $NEWFILE + fi +fi -+if [ -f "$NEWFILE" ]; then -+ /usr/bin/chown ntp:ntp $NEWFILE -+fi ++/usr/bin/chown ntp:ntp $NEWFILE + +# Run ntpdate so we're not way off on startup. +ntpstep=/etc/ntp/step-tickers