aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-09-07 20:52:38 +0200
committerGravatar Christian Hesse <mail@eworm.de>2016-09-07 20:52:38 +0200
commit096da2e8d40f1405ec80da9b0cc401f591fa4f6c (patch)
tree799b793cce517d878eae4b6013e1602693596d76
parent97bb92b35bdcf90bf1ddf9ad814a3df39f29c0a3 (diff)
downloadnetworkmanager-dispatcher-timesyncd-096da2e8d40f1405ec80da9b0cc401f591fa4f6c.tar.gz
networkmanager-dispatcher-timesyncd-096da2e8d40f1405ec80da9b0cc401f591fa4f6c.tar.zst
timedatectl set-ntp true to start systemd-timesyncd
-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)