From f3da738195aa3d2a63069225969aa3fa11905277 Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Thu, 15 Jul 2021 07:42:54 -0400 Subject: [PATCH] Added EarlyOOM --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 9da801a..eca2be1 100644 --- a/install.sh +++ b/install.sh @@ -161,7 +161,7 @@ kernel_selector # Pacstrap (setting up a base sytem onto the new root). echo "Installing the base system (it may take a while)." -pacstrap /mnt base ${kernel} ${kernel}-headers ${microcode} linux-firmware grub grub-btrfs snapper efibootmgr sudo networkmanager apparmor nano gdm gnome-control-center gnome-terminal gnome-software gnome-software-packagekit-plugin gnome-tweaks nautilus pipewire-pulse pipewire-alsa pipewire-jack flatpak firewalld adobe-source-han-sans-otc-fonts adobe-source-han-serif-otc-fonts reflector snap-pac +pacstrap /mnt base ${kernel} ${kernel}-headers ${microcode} linux-firmware grub grub-btrfs snapper efibootmgr sudo networkmanager apparmor nano gdm gnome-control-center gnome-terminal gnome-software gnome-software-packagekit-plugin gnome-tweaks nautilus pipewire-pulse pipewire-alsa pipewire-jack flatpak firewalld adobe-source-han-sans-otc-fonts adobe-source-han-serif-otc-fonts reflector snap-pac earlyoom # Generating /etc/fstab. echo "Generating a new fstab." @@ -308,6 +308,10 @@ systemctl enable bluetooth --root=/mnt &>/dev/null echo "Enabling Reflector." systemctl enable reflector.timer --root=/mnt &>/dev/null +# Enabling EarlyOOM timer. +echo "Enabling Reflector." +systemctl enable earlyoom --root=/mnt &>/dev/null + # Enabling Snapper automatic snapshots. echo "Enabling Snapper and automatic snapshots entries." systemctl enable snapper-timeline.timer --root=/mnt &>/dev/null