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…
Reference in new issue