]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
crypt: fix emergency script generation
authorHarald Hoyer <harald@redhat.com>
Mon, 7 Mar 2011 12:22:20 +0000 (13:22 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 7 Mar 2011 12:37:20 +0000 (13:37 +0100)
[ forward port of e45a2dba]

modules.d/90crypt/parse-crypt.sh

index 0dca0d382b1f97a7f51ee99d8c03b42a0fa7e99d..125e84474529519ebb8e63110209262d6333ad2b 100755 (executable)
@@ -24,11 +24,11 @@ else
             } >> /etc/udev/rules.d/70-luks.rules
 
             printf '[ -e /dev/disk/by-uuid/*%s* ] || exit 1\n' $luksid \
-                >> /initqueue-finished/crypt.sh
+                >> /initqueue-finished/90-crypt.sh
             {
                 printf '[ -e /dev/disk/by-uuid/*%s* ] || ' $luksid
                 printf 'warn "crypto LUKS UUID "%s" not found"\n' $luksid
-            } >> /emergency/00-crypt.sh
+            } >> /emergency/90-crypt.sh
         done
     else
         echo 'ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="/sbin/initqueue' \