From 1922b1264f14fbe4c2207ad1d3cf1ddd98adb0dd Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo Date: Mon, 11 Jul 2022 13:29:16 +0200 Subject: [PATCH] refactor(systemd-timesyncd): use more precise global variables --- modules.d/01systemd-timesyncd/module-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules.d/01systemd-timesyncd/module-setup.sh b/modules.d/01systemd-timesyncd/module-setup.sh index 015caecff..f6f35fee4 100755 --- a/modules.d/01systemd-timesyncd/module-setup.sh +++ b/modules.d/01systemd-timesyncd/module-setup.sh @@ -35,7 +35,7 @@ install() { inst_multiple -o \ "$dbussystem"/org.freedesktop.timesync1.conf \ "$dbussystemservices"/org.freedesktop.timesync1.service \ - "$systemdutildir/ntp-units.d/*.list" \ + "$systemdntpunits/*.list" \ "$systemdutildir"/systemd-timesyncd \ "$systemdutildir"/systemd-time-wait-sync \ "$systemdutildir/timesyncd.conf.d/*.conf" \ @@ -55,7 +55,7 @@ install() { # Install the hosts local user configurations if enabled. if [[ $hostonly ]]; then inst_multiple -H -o \ - "$systemdutilconfdir/ntp-units.d/*.list" \ + "$systemdntpunitsconfdir/*.list" \ "$systemdutilconfdir"/timesyncd.conf \ "$systemdutilconfdir/timesyncd.conf.d/*.conf" \ "$systemdsystemconfdir"/systemd-timesyncd.service \ -- 2.47.3