]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
crypt/parse-crypt.sh: don't generate luks rules in systemd mode
authorHarald Hoyer <harald@redhat.com>
Wed, 6 Mar 2013 15:25:31 +0000 (16:25 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 6 Mar 2013 16:29:11 +0000 (17:29 +0100)
modules.d/90crypt/parse-crypt.sh

index 54d157c6b4201080a5a38e8dee1e94310ab29e8e..d61220c4a5b6a5db5c8a9bf9645f58f864f30fed 100755 (executable)
@@ -27,14 +27,6 @@ else
                     printf -- '--name cryptroot-ask-%%k %s ' $(command -v cryptroot-ask)
                     printf -- '$env{DEVNAME} luks-$env{ID_FS_UUID} %s"\n' $tout
                 } >> /etc/udev/rules.d/70-luks.rules.new
-            else
-                {
-                    printf -- 'ENV{ID_FS_TYPE}=="crypto_LUKS", '
-                    printf -- 'ENV{ID_FS_UUID}=="*%s*", ' $luksid
-                    printf -- 'RUN+="%s --unique --onetime ' $(command -v initqueue)
-                    printf -- '--name crypt-run-generator-%%k %s ' $(command -v crypt-run-generator)
-                    printf -- '$env{DEVNAME} luks-$env{ID_FS_UUID}"\n'
-                } >> /etc/udev/rules.d/70-luks.rules.new
             fi
 
             uuid=$luksid