]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(crypt): unlock encrypted devices by default during boot
authorDaniel Winzen <daniel@danwin1210.de>
Sat, 25 May 2024 16:20:12 +0000 (18:20 +0200)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sat, 25 May 2024 18:46:55 +0000 (14:46 -0400)
modules.d/90crypt/parse-crypt.sh

index e46e347ac5abd72212cb0e091fbd035d714de2f5..39fc6d211e71aa0ae7fbe42c4a03cdcef365fc7c 100755 (executable)
@@ -174,7 +174,7 @@ else
                 } >> "$hookdir/emergency/90-crypt.sh"
             fi
         done
-    elif getargbool 0 rd.auto; then
+    elif getargbool 1 rd.auto; then
         if [ -z "$DRACUT_SYSTEMD" ]; then
             {
                 printf -- 'ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="%s ' "$(command -v initqueue)"