From: Daniel Molkentin Date: Thu, 6 Feb 2020 09:00:23 +0000 (+0100) Subject: 90crypt: install crypt-run-generator in non-systemd environments X-Git-Tag: 050~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7dc918cad1a54cd00fd40a2a679b0587cb84eef8;p=thirdparty%2Fdracut.git 90crypt: install crypt-run-generator in non-systemd environments --- diff --git a/modules.d/90crypt/module-setup.sh b/modules.d/90crypt/module-setup.sh index 51a045c2f..3ee4c5458 100755 --- a/modules.d/90crypt/module-setup.sh +++ b/modules.d/90crypt/module-setup.sh @@ -119,6 +119,7 @@ install() { fi inst_simple "$moddir/crypt-lib.sh" "/lib/dracut-crypt-lib.sh" + inst_script "$moddir/crypt-run-generator.sh" "/sbin/crypt-run-generator" if dracut_module_included "systemd"; then inst_multiple -o \ @@ -129,7 +130,6 @@ install() { $systemdsystemunitdir/cryptsetup.target \ $systemdsystemunitdir/sysinit.target.wants/cryptsetup.target \ systemd-ask-password systemd-tty-ask-password-agent - inst_script "$moddir"/crypt-run-generator.sh /sbin/crypt-run-generator fi dracut_need_initqueue