From a68a6e4bc5304efc54c3d3437a31efedcb7abbcf Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Mon, 28 Feb 2022 22:45:45 -0600 Subject: [PATCH] Enable trim timer --- scripts/3-post-setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/3-post-setup.sh b/scripts/3-post-setup.sh index 34c67a0..75077f8 100755 --- a/scripts/3-post-setup.sh +++ b/scripts/3-post-setup.sh @@ -102,6 +102,8 @@ systemctl enable NetworkManager.service echo " NetworkManager enabled" systemctl enable bluetooth echo " Bluetooth enabled" +systemctl enable fstrim.timer +echo " Periodic Trim enabled" if [[ "${FS}" == "luks" || "${FS}" == "btrfs" ]]; then echo -ne "