Add SSD TRIM setup script

main
Ian Mancini 5 years ago
parent 0c10a7dbe2
commit 5d4cc9005a

@ -0,0 +1,11 @@
#!/bin/sh
set -Eeo pipefail
if (( $EUID != 0 )); then
echo "Should be run as root"
exit 1
fi
systemctl enable fstrim.timer
systemctl start fstrim.service
Loading…
Cancel
Save