mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fixed check
This commit is contained in:
parent
53f420ae16
commit
922b329aba
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
# encryption schemes
|
||||
run_hook ()
|
||||
{
|
||||
if [ "$ENCRYPTRUN" = "1" ]; then
|
||||
if ! [ "$ENCRYPTRUN" = "1" ]; then
|
||||
/sbin/modprobe -a -q dm-crypt >/dev/null 2>&1
|
||||
if [ -e "/sys/class/misc/device-mapper" ]; then
|
||||
if [ ! -c "/dev/mapper/control" ]; then
|
||||
|
|
Loading…
Reference in a new issue