]> git.ipfire.org Git - thirdparty/dracut.git/commit - dracut.sh
feat(dracut.sh): allow overriding the systemctl command for sysroot
authorZoltán Böszörményi <zboszor@pr.hu>
Sun, 7 Feb 2021 14:29:56 +0000 (15:29 +0100)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Tue, 9 Feb 2021 07:09:28 +0000 (07:09 +0000)
commit18d36fabf5ab20404e63ae56f166a5a53a874ba9
tree51506b32c8a8b395e6a97a6f8db048726d542944
parent433a9ec0147e578b91b4c6e20629a0dbeb9d0725
feat(dracut.sh): allow overriding the systemctl command for sysroot

Allow overriding the systemctl command for sysroot with $SYSTEMCTL
Modified every modules' module-setup.sh to use the envvar instead
of the hardcoded command name.

Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
12 files changed:
dracut.8.asc
dracut.sh
modules.d/00systemd/module-setup.sh
modules.d/01systemd-initrd/module-setup.sh
modules.d/01systemd-sysusers/module-setup.sh
modules.d/02systemd-networkd/module-setup.sh
modules.d/06rngd/module-setup.sh
modules.d/90multipath/module-setup.sh
modules.d/95iscsi/module-setup.sh
modules.d/98dracut-systemd/module-setup.sh
modules.d/99memstrack/module-setup.sh
modules.d/99squash/module-setup.sh