diff options
author | Christian Hesse <mail@eworm.de> | 2016-09-07 20:52:38 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2016-09-07 20:52:38 +0200 |
commit | 096da2e8d40f1405ec80da9b0cc401f591fa4f6c (patch) | |
tree | 799b793cce517d878eae4b6013e1602693596d76 /30-timesyncd | |
parent | 97bb92b35bdcf90bf1ddf9ad814a3df39f29c0a3 (diff) | |
download | networkmanager-dispatcher-timesyncd-096da2e8d40f1405ec80da9b0cc401f591fa4f6c.tar.gz networkmanager-dispatcher-timesyncd-096da2e8d40f1405ec80da9b0cc401f591fa4f6c.tar.zst |
timedatectl set-ntp true to start systemd-timesyncd
Diffstat (limited to '30-timesyncd')
-rwxr-xr-x | 30-timesyncd | 1 |
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) |