fix crypt blacklist

This commit is contained in:
Tobias Powalowski 2022-01-27 19:45:09 +01:00
parent 25dfd829e8
commit 5b1fc26bcb

View file

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