From 5ac8420abcfd5665f712f18f8678f3977e039969 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 6 Mar 2013 16:25:31 +0100 Subject: [PATCH] crypt/parse-crypt.sh: don't generate luks rules in systemd mode --- modules.d/90crypt/parse-crypt.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules.d/90crypt/parse-crypt.sh b/modules.d/90crypt/parse-crypt.sh index 54d157c6b..d61220c4a 100755 --- a/modules.d/90crypt/parse-crypt.sh +++ b/modules.d/90crypt/parse-crypt.sh @@ -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 -- 2.47.3