parent
38ba0d7a62
commit
fcbcc89bb2
|
|
@ -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' \
|
||||
|
|
|
|||
Loading…
Reference in New Issue