From 14d6914b259e967b946c7d8f7d3c6c2035b36128 Mon Sep 17 00:00:00 2001 From: SolidHal Date: Wed, 7 Nov 2018 17:56:06 +0000 Subject: [PATCH] enable periodic trim --- scripts/InstallScripts/InstallPackages.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/InstallScripts/InstallPackages.sh b/scripts/InstallScripts/InstallPackages.sh index 37edb5d..78ad1ea 100755 --- a/scripts/InstallScripts/InstallPackages.sh +++ b/scripts/InstallScripts/InstallPackages.sh @@ -100,6 +100,10 @@ cp -rf $DIR/30-touchpad.conf /etc/X11/xorg.conf.d/ apt clean && apt autoremove --purge +#enable periodic TRIM +cp /usr/share/doc/util-linux/examples/fstrim.{service,timer} /etc/systemd/system +systemctl enable fstrim.timer + dmesg -D #Force a safe username