mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 11:30:55 +00:00
Update easy-arch.sh
This commit is contained in:
parent
95b5042667
commit
10cf60d674
1 changed files with 4 additions and 3 deletions
|
|
@ -222,9 +222,6 @@ arch-chroot /mnt /bin/bash -e <<EOF
|
||||||
# Creating grub config file.
|
# Creating grub config file.
|
||||||
echo "Creating GRUB config file."
|
echo "Creating GRUB config file."
|
||||||
grub-mkconfig -o /boot/grub/grub.cfg &>/dev/null
|
grub-mkconfig -o /boot/grub/grub.cfg &>/dev/null
|
||||||
|
|
||||||
# Enabling AppArmor
|
|
||||||
systemctl enable apparmor --root=/mnt &>/dev/null
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
@ -232,6 +229,10 @@ EOF
|
||||||
echo "Setting root password."
|
echo "Setting root password."
|
||||||
arch-chroot /mnt /bin/passwd
|
arch-chroot /mnt /bin/passwd
|
||||||
|
|
||||||
|
# Enabling AppArmor.
|
||||||
|
echo "Enabling AppArmor."
|
||||||
|
systemctl enable apparmor --root=/mnt &>/dev/null
|
||||||
|
|
||||||
# Enabling Snapper automatic snapshots.
|
# Enabling Snapper automatic snapshots.
|
||||||
echo "Enabling Snapper and automatic snapshots entries."
|
echo "Enabling Snapper and automatic snapshots entries."
|
||||||
systemctl enable snapper-timeline.timer --root=/mnt &>/dev/null
|
systemctl enable snapper-timeline.timer --root=/mnt &>/dev/null
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue