Import volume info here too (noticed by wtogami with root-on-crypt-lv)
parent
09bab2aa8e
commit
ce1d00e166
|
@ -7,6 +7,7 @@
|
|||
SUBSYSTEM!="block", GOTO="luks_end"
|
||||
ACTION!="add|change", GOTO="luks_end"
|
||||
|
||||
KERNEL!="sr*", IMPORT{program}="vol_id --export $tempnode"
|
||||
ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="/bin/plymouth ask-for-password --command '/sbin/cryptsetup luksOpen $env{DEVNAME} luks-$env{ID_FS_UUID}"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue