<div dir="auto"><div>Hi www,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 23, 2020, 04:14 www <<a href="mailto:ouyangxuan10@163.com">ouyangxuan10@163.com</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin:0">hi Michal and Kevin,</div><div style="margin:0"><br></div><div style="margin:0">We applied systemd to embedded Linux, so we often need to update/flash the whole system. When we select disable <b>time synchronization</b> function, the embedded system will use the time itself. After we update the system and restart it, we need the <b>time synchronization</b> function is disabled. During the whole startup process, there is no automatic time synchronization, and <b>the previous time is used</b>. Because automatic time synchronization may change its original time. (<b>Because the time of the system itself may be different from that of NTP time.</b>) </div><div style="margin:0"><br></div><div style="margin:0">There is a <b>timesyncd.conf</b> file under the system,can the system automatically turn off the time synchronization function by modifying this file? </div><div style="margin:0">In this way, when updating, I can save this file to solve this problem.</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I totally fail to see where your problem is. Starting (or not starting) things (under conditions) is a core feature of systemd and well documented. At least I did find the documentation to be good, your experience seems to differ. Maybe you can suggest topics that need to be improved?</div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">You create the image, so just do not install stuff you do not want to run there and it won't -- under no circumstances ever. </span><span style="font-family:sans-serif">If you want things to start on the other hand, just configure that properly in your image (add unit files and enable them) </span><span style="font-family:sans-serif">and it will.</span></div><div dir="auto"><br></div><div dir="auto">PS: If your software has problems with time not increasing monotonically at all times, then your software is broken by design. I hope it will never need to work anywhere with summer/winter time,</div><div dir="auto"><br></div><div dir="auto">Best Regards,</div><div dir="auto">Tobias</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>