Added Hooks for encryption
This commit is contained in:
parent
b514583198
commit
b12f246609
1 changed files with 2 additions and 0 deletions
2
base.sh
2
base.sh
|
@ -153,6 +153,8 @@ elif [[ $gracard == 3 ]]; then
|
||||||
sed -i 's/MODULES=()/MODULES=(nvidia)/' /etc/mkinitcpio.conf #Nvidia
|
sed -i 's/MODULES=()/MODULES=(nvidia)/' /etc/mkinitcpio.conf #Nvidia
|
||||||
fi
|
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
|
if [[ $kernel == 1 ]]; then
|
||||||
mkinitcpio -p linux
|
mkinitcpio -p linux
|
||||||
elif [[ $kernel == 2 ]]; then
|
elif [[ $kernel == 2 ]]; then
|
||||||
|
|
Loading…
Reference in a new issue