aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x30-timesyncd1
1 files changed, 1 insertions, 0 deletions
diff --git a/30-timesyncd b/30-timesyncd
index da0f193..710a3fc 100755
--- a/30-timesyncd
+++ b/30-timesyncd
@@ -9,6 +9,7 @@ case "${STATUS}" in
mkdir -p /run/systemd/timesyncd.conf.d/
echo "[Time]" > /run/systemd/timesyncd.conf.d/${INTERFACE}.conf
echo "NTP = ${DHCP4_NTP_SERVERS}" >> /run/systemd/timesyncd.conf.d/${INTERFACE}.conf
+ timedatectl set-ntp true
fi
;;
down)