]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
refactor(systemd-timesyncd): use more precise global variables
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Mon, 11 Jul 2022 11:29:16 +0000 (13:29 +0200)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Thu, 29 Sep 2022 05:37:07 +0000 (05:37 +0000)
modules.d/01systemd-timesyncd/module-setup.sh

index 015caecffd63837cc3b5cccaeca6a26934c271fb..f6f35fee4a75699743909481aea8a1074287ee7a 100755 (executable)
@@ -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 \