Update booster.postinst

This commit is contained in:
ferrreo 2023-10-19 16:45:41 +01:00 committed by GitHub
parent 9b36da8dd4
commit a77735f670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,14 @@ set -e
touch /etc/vconsole.conf
if cat /etc/vconsole.conf | grep -i 'KEYMAP='
then
true
e lse
echo "KEYMAP="us"" >> /etc/vconsole.conf
fi
# Check if there are entries in crypttab
crypt_check=$(cat /etc/crypttab | grep -v '^#' || true)
if [[ -n $crypt_check ]]