From c5d3b814754ed0c48adbea48fafd38c6b7f4d9ac Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 16 May 2024 22:32:28 -0700 Subject: [PATCH] Update zram config Signed-off-by: Tommy --- Fedora-Server-40.sh | 2 +- Fedora-Workstation-40.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Fedora-Server-40.sh b/Fedora-Server-40.sh index aa09a74..ece59e7 100644 --- a/Fedora-Server-40.sh +++ b/Fedora-Server-40.sh @@ -82,7 +82,7 @@ fi unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/security/limits.d/30-disable-coredump.conf | sudo tee /etc/security/limits.d/30-disable-coredump.conf # Setup ZRAM -echo -e '[zram0]\nzram-fraction = 1\nmax-zram-size = 8192\ncompression-algorithm = zstd' | sudo tee /etc/systemd/zram-generator.conf +unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/systemd/zram-generator.conf | sudo tee /etc/systemd/zram-generator.conf # Setup DNF unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dnf/dnf.conf | sudo tee /etc/dnf/dnf.conf diff --git a/Fedora-Workstation-40.sh b/Fedora-Workstation-40.sh index 467d9c3..78c6d24 100644 --- a/Fedora-Workstation-40.sh +++ b/Fedora-Workstation-40.sh @@ -130,7 +130,7 @@ sudo dconf update umask 077 # Setup ZRAM -echo -e '[zram0]\nzram-fraction = 1\nmax-zram-size = 8192\ncompression-algorithm = zstd' | sudo tee /etc/systemd/zram-generator.conf +unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/systemd/zram-generator.conf | sudo tee /etc/systemd/zram-generator.conf # Setup DNF unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dnf/dnf.conf | sudo tee /etc/dnf/dnf.conf