Compare commits

..

1 Commits

Author SHA1 Message Date
Marc Brooks f6de0abc07
fix/timesync: Ensure that auto-update waits for time sync
- Added check to not attempt auto update if time sync is needed and not yet successful (delays 30 second to recheck).
- Added resync of time when DHCP or link state changes if online
- Added conditional* fallback from configured* NTP servers to the IP-named NTP servers, and then to the DNS named ones if that fails
- Added conditional* fallback from the configured* HTTP servers to the default DNS named ones.
- Uses the configuration* option for how many queries to run in parallel
- Added known static IPs for time servers (in case DNS resolution isn't up yet)
- Added time.cloudflare.com to fall-back NTP servers

* Note: The UI for configuring many of these things doesn't exist yet, but the defaults are reasonable
2025-06-13 02:10:42 -05:00
2 changed files with 5 additions and 10 deletions

View File

@ -2,8 +2,8 @@ BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
BUILDDATE ?= $(shell date -u +%FT%T%z) BUILDDATE ?= $(shell date -u +%FT%T%z)
BUILDTS ?= $(shell date -u +%s) BUILDTS ?= $(shell date -u +%s)
REVISION ?= $(shell git rev-parse HEAD) REVISION ?= $(shell git rev-parse HEAD)
VERSION_DEV ?= 0.4.5-dev$(shell date +%Y%m%d%H%M) VERSION_DEV := 0.4.5-dev$(shell date +%Y%m%d%H%M)
VERSION ?= 0.4.4 VERSION := 0.4.4
PROMETHEUS_TAG := github.com/prometheus/common/version PROMETHEUS_TAG := github.com/prometheus/common/version
KVM_PKG_NAME := github.com/jetkvm/kvm KVM_PKG_NAME := github.com/jetkvm/kvm

View File

@ -295,10 +295,6 @@ if (isOnDevice) {
path: "hardware", path: "hardware",
element: <SettingsHardwareRoute />, element: <SettingsHardwareRoute />,
}, },
{
path: "network",
element: <SettingsNetworkRoute />,
},
{ {
path: "access", path: "access",
children: [ children: [
@ -357,8 +353,7 @@ if (isOnDevice) {
{ {
path: "devices", path: "devices",
element: <DevicesRoute />, element: <DevicesRoute />,
loader: DevicesRoute.loader loader: DevicesRoute.loader },
},
], ],
}, },
], ],