Added Hooks for encryption

This commit is contained in:
eichehome 2023-03-29 17:56:31 +02:00
parent b514583198
commit b12f246609

View file

@ -153,6 +153,8 @@ elif [[ $gracard == 3 ]]; then
sed -i 's/MODULES=()/MODULES=(nvidia)/' /etc/mkinitcpio.conf #Nvidia
fi
sed -i 's/HOOKS=(.*)/HOOKS=(base systemd keyboard autodetect sd-vconsole modconf kms block sd-encrypt filesystems fsck)/' /etc/mkinitcpio.conf
if [[ $kernel == 1 ]]; then
mkinitcpio -p linux
elif [[ $kernel == 2 ]]; then