From: Harald Hoyer Date: Fri, 26 Mar 2021 09:29:08 +0000 (+0100) Subject: fix(systemd-sysusers): shellcheck for modules.d/01systemd-sysusers X-Git-Tag: 054~267 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bf6861b589f6157b87845e0bba6d20ee68f2765;p=thirdparty%2Fdracut.git fix(systemd-sysusers): shellcheck for modules.d/01systemd-sysusers --- diff --git a/modules.d/01systemd-sysusers/.shchkdir b/modules.d/01systemd-sysusers/.shchkdir new file mode 100644 index 000000000..e69de29bb diff --git a/modules.d/01systemd-sysusers/module-setup.sh b/modules.d/01systemd-sysusers/module-setup.sh index 4c2b73e03..485be86ed 100644 --- a/modules.d/01systemd-sysusers/module-setup.sh +++ b/modules.d/01systemd-sysusers/module-setup.sh @@ -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.