forked from libretro/Lakka-LibreELEC
750dd4add2
connman's NTP client can't be used if it's not managing the network interface so use systemd's timesyncd as we already build it. timesyncd is automatically configured to use the NTP servers provided by kernel ip config, if they are missing the default fallback NTP servers (currently the ones from Google) are used. Users can also provide timesyncd configuration files via /storage/.config/timesyncd.conf.d/ eg to change the (fallback) servers. Signed-off-by: Matthias Reichl <hias@horus.com>
13 lines
255 B
Desktop File
13 lines
255 B
Desktop File
[Unit]
|
|
Description=Setup NTP servers for timesyncd
|
|
DefaultDependencies=no
|
|
After=systemd-remount-fs.service systemd-sysusers.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/sbin/systemd-timesyncd-setup
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|