First commit
Signed-off-by: Michał Krawczyk <nev@nevy.xyz>
This commit is contained in:
commit
8abc519eb6
2 changed files with 14 additions and 0 deletions
4
README.md
Normal file
4
README.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Nevy's Dotfiles
|
||||||
|
My collection of various dotfiles. Mostly for backup purposes and ease of configuration.
|
||||||
|
|
||||||
|
*You probably don't want to just run them on your system. Excercise caution.*
|
10
scripts/fstrim-enable.sh
Executable file
10
scripts/fstrim-enable.sh
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#! /usr/bin/bash
|
||||||
|
echo "Checking if FSTrim is enabled"
|
||||||
|
if sudo systemctl list-timers --no-pager | grep "fstrim"; then
|
||||||
|
echo "FStrim already enabled"
|
||||||
|
else
|
||||||
|
echo "Enabling FSTrim"
|
||||||
|
sudo systemctl enable fstrim.timer --now
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue