]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(systemd-sysusers): shellcheck for modules.d/01systemd-sysusers
authorHarald Hoyer <harald@redhat.com>
Fri, 26 Mar 2021 09:29:08 +0000 (10:29 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 26 Mar 2021 12:01:17 +0000 (13:01 +0100)
modules.d/01systemd-sysusers/.shchkdir [new file with mode: 0644]
modules.d/01systemd-sysusers/module-setup.sh

diff --git a/modules.d/01systemd-sysusers/.shchkdir b/modules.d/01systemd-sysusers/.shchkdir
new file mode 100644 (file)
index 0000000..e69de29
index 4c2b73e03734ebed9c858f0c365f5f02aaaf6402..485be86ed86edbf01c05f9022de617ff752da73c 100644 (file)
@@ -32,19 +32,18 @@ install() {
     # Install the systemd type service unit for sysusers.
     # Install the binary executable(s) for sysusers.
     inst_multiple -o \
-        $sysusers/basic.conf \
-        $sysusers/systemd.conf \
-        $systemdsystemunitdir/systemd-sysusers.service \
+        "$sysusers"/basic.conf \
+        "$sysusers"/systemd.conf \
+        "$systemdsystemunitdir"/systemd-sysusers.service \
         systemd-sysusers
 
     # Install the hosts local user configurations if enabled.
     if [[ $hostonly ]]; then
         inst_multiple -H -o \
-            $sysusersconfdir/basic.conf \
-            $sysusersconfdir/systemd.conf \
-            $systemdsystemconfdir/systemd-sysusers.service \
-            $systemdsystemconfdir/systemd-sysusers.service.d/*.conf \
-            ${NULL}
+            "$sysusersconfdir"/basic.conf \
+            "$sysusersconfdir"/systemd.conf \
+            "$systemdsystemconfdir"/systemd-sysusers.service \
+            "$systemdsystemconfdir"/systemd-sysusers.service.d/*.conf
     fi
 
     # Enable the systemd type service unit for sysusers.