--- rpms/e-smith-ntp/sme10/e-smith-ntp-2.6.0-bz11008-bz8881-improve-systemd-driftfile.patch 2020/11/27 04:57:15 1.7 +++ rpms/e-smith-ntp/sme10/e-smith-ntp-2.6.0-bz11008-bz8881-improve-systemd-driftfile.patch 2020/11/27 05:12:40 1.8 @@ -101,13 +101,13 @@ diff -Nur e-smith-ntp-2.6.0.old/root/etc +my $status = $ntp{status} || 'disabled'; + +if ($status eq 'enabled') { -+ $OUT .= "disable ntpdate.service"; -+ $OUT .= "enable ntpd.service"; ++ $OUT .= "disable ntpdate.service\n"; ++ $OUT .= "enable ntpd.service\n"; + } +else + { -+ $OUT .= "disable ntpdate.service"; -+ $OUT .= "disable ntpd.service"; ++ $OUT .= "disable ntpdate.service\n"; ++ $OUT .= "disable ntpd.service\n"; + } +} diff -Nur e-smith-ntp-2.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ntpd.service.d/50koozali.conf/80install e-smith-ntp-2.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/ntpd.service.d/50koozali.conf/80install