mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Update easy-arch.sh
This commit is contained in:
parent
2185d29881
commit
acd5e686f5
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ sed -i -e 's,modconf block filesystems keyboard,keyboard keymap modconf block en
|
|||
|
||||
# Setting up LUKS2 encryption and apparmor.
|
||||
UUID=$(blkid $Cryptroot | cut -f2 -d'"')
|
||||
sed -i "s,quiet,quiet cryptdevice=UUID=$UUID:cryptroot root=$BTRFS lsm=lockdown,yama,apparmor,bpf,g" /mnt/etc/default/grub
|
||||
sed -i "s/quiet/quiet cryptdevice=UUID=$UUID:cryptroot root=$BTRFS lsm=lockdown,yama,apparmor,bpf/g" /mnt/etc/default/grub
|
||||
|
||||
# Security kernel settings.
|
||||
echo "kernel.kptr_restrict = 2" > /mnt/etc/sysctl.d/51-kptr-restrict.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue