mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50: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
|
# encryption schemes
|
||||||
run_hook ()
|
run_hook ()
|
||||||
{
|
{
|
||||||
if [ "$ENCRYPTRUN" = "1" ]; then
|
if ! [ "$ENCRYPTRUN" = "1" ]; then
|
||||||
/sbin/modprobe -a -q dm-crypt >/dev/null 2>&1
|
/sbin/modprobe -a -q dm-crypt >/dev/null 2>&1
|
||||||
if [ -e "/sys/class/misc/device-mapper" ]; then
|
if [ -e "/sys/class/misc/device-mapper" ]; then
|
||||||
if [ ! -c "/dev/mapper/control" ]; then
|
if [ ! -c "/dev/mapper/control" ]; then
|
||||||
|
|
Loading…
Reference in a new issue