<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 24, 2020, 21:43 An Liu <<a href="mailto:sourceonly@gmail.com">sourceonly@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto">HI</div><div dir="auto"><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)" dir="auto">
    timedatectl set-ntp false</blockquote><div dir="auto"><br></div><div dir="auto">what is the diff between this and</div><div dir="auto">systemctl disable ntp</div></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">The timedatectl command controls only systemd's own NTP client (systemd-timesyncd.service). It doesn't care about other NTP clients such as ntp.service or chrony.service.</div><div dir="auto"><br></div><div dir="auto">Other than that, there is not much difference – they both just enable/disable services.</div></div>