diff options
-rw-r--r-- | modules.d/slx-clock/scripts/configure-timesyncd.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules.d/slx-clock/scripts/configure-timesyncd.sh b/modules.d/slx-clock/scripts/configure-timesyncd.sh index af1148eb..77541ab0 100644 --- a/modules.d/slx-clock/scripts/configure-timesyncd.sh +++ b/modules.d/slx-clock/scripts/configure-timesyncd.sh @@ -5,8 +5,8 @@ if [ -n "$SLX_NTP_SERVER" ]; then tsdir="${NEWROOT}/etc/systemd/timesyncd.conf.d" mkdir -p "$tsdir" - ( + { echo "[Time]" echo "NTP=$SLX_NTP_SERVER" - ) > "${tsdir}/slx-ntp.conf" + } > "${tsdir}/slx-ntp.conf" fi |