mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix crypt blacklist
This commit is contained in:
parent
25dfd829e8
commit
5b1fc26bcb
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,7 @@ _stopluks()
|
||||||
DIALOG --infobox "Removing not running luks encrypted devices ..." 0 0
|
DIALOG --infobox "Removing not running luks encrypted devices ..." 0 0
|
||||||
for i in $(${_LSBLK} NAME,FSTYPE | grep "crypto_LUKS$" | cut -d' ' -f1); do
|
for i in $(${_LSBLK} NAME,FSTYPE | grep "crypto_LUKS$" | cut -d' ' -f1); do
|
||||||
# delete header from device
|
# delete header from device
|
||||||
wipefs -a "${i}" >/dev/null 2>&1
|
wipefs -a "${i}" > ${LOG} 2>&1
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
[[ -e /tmp/.crypttab ]] && rm /tmp/.crypttab
|
[[ -e /tmp/.crypttab ]] && rm /tmp/.crypttab
|
||||||
|
|
Loading…
Reference in a new issue