Re: [systemd-devel] : How to modify systemd so that the NTP function is disabled when systemd is first started?

2020-04-22 Thread Tobias Hunger
Hi www, On Thu, Apr 23, 2020, 04:14 www wrote: > hi Michal and Kevin, > > We applied systemd to embedded Linux, so we often need to update/flash the > whole system. When we select disable *time synchronization* function, > the embedded system will use the time itself. After we update the system

Re: [systemd-devel] : How to modify systemd so that the NTP function is disabled when systemd is first started?

2020-04-22 Thread Michał Zegan
As I said, there are symlinks in /etc/systemd/system/*.target.wants that allows disabling services like this one from starting. It is enough to remove the one for systemd-timesync.service from multi-user.target.wants directory. If you can do things via some config files you should also be able to d

Re: [systemd-devel] : How to modify systemd so that the NTP function is disabled when systemd is first started?

2020-04-22 Thread www
hi Michal and Kevin, We applied systemd to embedded Linux, so we often need to update/flash the whole system. When we select disable time synchronization function, the embedded system will use the time itself. After we update the system and restart it, we need the time synchronization func

[systemd-devel] network-online.target time

2020-04-22 Thread Peter Morrow
Hi Folks, I'm trying to optimise our boot process and have started to look at the time it takes for the network to come up (a single interface to be routable) when using systemd-networkd: root@HOST:/# systemd-analyze critical-chain network-online.target --no- pager The time after the unit is acti

Re: [systemd-devel] [systemd-level]: how to set property to read only in systemd?

2020-04-22 Thread www
Thank you very much for your help。 thanks, Byron At 2020-04-21 20:53:02, "Lennart Poettering" wrote: >On Di, 21.04.20 19:54, www (ouyangxua...@163.com) wrote: > >> hi Lennart, >> >> >> I mean the DBUS property. >> >> root@demoboard:/# busctl set-property org.freedesktop.DBus >> /o