From 4567264214bc629c6e43fcc60c35971ada199c6a 2016-06-08 05:31:12 From: Stephen A. Brandli Date: 2016-06-08 05:31:12 Subject: [PATCH] Fixed: Enable systemd time sync. --- diff --git a/bootstrap.d/20-networking.sh b/bootstrap.d/20-networking.sh index 16e06f2..b64b8ca 100644 --- a/bootstrap.d/20-networking.sh +++ b/bootstrap.d/20-networking.sh @@ -70,3 +70,8 @@ if [ "$ENABLE_HARDNET" = true ] ; then # Setup resolver warnings about spoofed addresses sed -i "s/^# spoof warn/spoof warn/" "${ETCDIR}/host.conf" fi + +# Enable time sync +if [ "NET_NTP_1" != "" ] ; then + chroot_exec systemctl enable systemd-timesyncd.service +fi