若未设置则使用 systemd-timesyncd.service(8) 服务。详见与 NTP 相关的 timedatectl(1) 命令。 例如: SYSTEMD_TIMEDATED_NTP_SERVICES=ntpd.service:chronyd.service:systemd-timesyncd.service 参见 systemd(1), timedatectl(1), localtime(5), hwclock(8), systemd-timesyncd.service(8) ...
timesync tmpfiles tpm2-setup tty-ask-password-agent udev ukify update-done update-utmp user-sessions userdb varlinkctl vconsole veritysetup version vmspawn volatile-root vpick xdg-autostart-generator sysctl.d sysusers.d test tmpfiles.d tools units xorg .clang-format .ctags .dir-locals....
assert_rc 3 systemctl is-active --quiet systemd-timesyncd echo 'enable NTP' start_mon timedatectl set-ntp true wait_mon "NTP" "BOOLEAN true" assert_ntp "true" for ((i=0;i<10;i++)); do if (( i != 0 )); then sleep 1; fi if [[ "$(systemctl --no-pager show systemd-ti...