Import volume info here too (noticed by wtogami with root-on-crypt-lv)

master
Jeremy Katz 2009-01-19 13:57:09 -05:00
parent 09bab2aa8e
commit ce1d00e166
1 changed files with 1 additions and 0 deletions

View File

@ -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}"