Skip to content

Commit 0539eb6

Browse files
committed
00-check-rtc-and-wait-ntp.sh: Remove enabling systemd-time-wait-sync.service
Because it is slower than setting the system time to the modification time of this script. Signed-off-by: Norio Nomura <[email protected]>
1 parent 5d69caa commit 0539eb6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/cidata/cidata.TEMPLATE.d/boot/00-check-rtc-and-wait-ntp.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ echo_with_time_usec() {
1414
echo "${time_usec}, ${1}"
1515
}
1616

17-
# Enable `systemd-time-wait-sync.service` to wait for NTP synchronization at an earlier stage.
18-
systemctl enable systemd-time-wait-sync.service
19-
2017
# For the first boot, where the above setting is not yet active, wait for NTP synchronization here.
2118
max_retry=60 retry=0
2219
until ntp_synchronized=$(timedatectl show --property=NTPSynchronized --value) && [ "${ntp_synchronized}" = "yes" ] ||

0 commit comments

Comments
 (0)