fix whitespace and make dmesg "disable" level consistent

This commit is contained in:
SolidHal 2020-03-02 20:16:22 -06:00
parent c415b96d4a
commit 220a956c7d
2 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ fi
if [ -n "$(blkid ${ROOT_DEV}2 | grep crypto_LUKS)" ] if [ -n "$(blkid ${ROOT_DEV}2 | grep crypto_LUKS)" ]
then then
#decrypt and mount the root filesystem, disable kernel log messages to avoid clashing with the prompt #decrypt and mount the root filesystem, disable kernel log messages to avoid clashing with the prompt
dmesg -n 4 dmesg -n 2
echo "Opening encrypted root partition, this will take 30s..." echo "Opening encrypted root partition, this will take 30s..."
cryptsetup --tries 5 luksOpen ${ROOT_DEV}2 luksroot || rescue_shell cryptsetup --tries 5 luksOpen ${ROOT_DEV}2 luksroot || rescue_shell
dmesg -n 7 dmesg -n 7