Browse Source

fix(systemd-repart): shellcheck for modules.d/01systemd-repart

master
Harald Hoyer 4 years ago committed by Harald Hoyer
parent
commit
ddc7bf456a
  1. 0
      modules.d/01systemd-repart/.shchkdir
  2. 11
      modules.d/01systemd-repart/module-setup.sh

0
modules.d/01systemd-repart/.shchkdir

11
modules.d/01systemd-repart/module-setup.sh

@ -27,17 +27,16 @@ depends() { @@ -27,17 +27,16 @@ depends() {
install() {

inst_multiple -o \
$libdir/repart.d/*.conf \
$systemdsystemunitdir/systemd-repart.service \
$systemdsystemunitdir/initrd-root-fs.target.wants/systemd-repart.service \
"$libdir"/repart.d/*.conf \
"$systemdsystemunitdir"/systemd-repart.service \
"$systemdsystemunitdir"/initrd-root-fs.target.wants/systemd-repart.service \
systemd-repart

# Install the hosts local user configurations if enabled.
if [[ $hostonly ]]; then
inst_multiple -H -o \
/etc/repart.d/*.conf \
$systemdsystemconfdir/systemd-repart.service \
$systemdsystemconfdir/systemd-repart.service.d/*.conf \
${NULL}
"$systemdsystemconfdir"/systemd-repart.service \
"$systemdsystemconfdir"/systemd-repart.service.d/*.conf
fi
}

Loading…
Cancel
Save