Update booster.postinst

This commit is contained in:
ferrreo 2023-10-19 16:46:52 +01:00 committed by GitHub
parent 0f865e1727
commit ab89318b9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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