* Fri Oct 03 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-8.sme
- add support for multiple coma separated NTPServer [SME: 10623] - fix ntpd ong to start if not ntp server set [SME: 12954]
This commit is contained in:
@@ -4,6 +4,8 @@ if [ -f "$NEWFILE" ]; then
|
|||||||
/usr/bin/chown ntp:ntp $NEWFILE
|
/usr/bin/chown ntp:ntp $NEWFILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#exit if setting to only use hardware clock
|
||||||
|
grep '^# sync to hw clock$' /etc/ntp.conf && exit 0
|
||||||
# force sync date and time
|
# force sync date and time
|
||||||
/usr/sbin/ntpd -q -x -g -g -g -g >/dev/null
|
/usr/sbin/ntpd -q -x -g -g -g -g >/dev/null
|
||||||
# set hardware clock to the current time
|
# set hardware clock to the current time
|
||||||
|
@@ -4,7 +4,7 @@ Summary: smeserver specific NTP configuration files and templates
|
|||||||
%define name smeserver-ntp
|
%define name smeserver-ntp
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
%define version 11.0.0
|
%define version 11.0.0
|
||||||
%define release 7
|
%define release 8
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
@@ -21,6 +21,10 @@ Requires: smeserver-lib >= 1.15.1-19
|
|||||||
AutoReqProv: no
|
AutoReqProv: no
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 03 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-8.sme
|
||||||
|
- add support for multiple coma separated NTPServer [SME: 10623]
|
||||||
|
- fix ntpd ong to start if not ntp server set [SME: 12954]
|
||||||
|
|
||||||
* Tue Dec 17 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-7.sme
|
* Tue Dec 17 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-7.sme
|
||||||
- remove unused template [SME: 12525]
|
- remove unused template [SME: 12525]
|
||||||
- fix action script [SME: 12590]
|
- fix action script [SME: 12590]
|
||||||
|
Reference in New Issue
Block a user