mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
fstrim: add daily cronjob.
This commit is contained in:
8
config/fstrim/trim
Normal file
8
config/fstrim/trim
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Script to trim free space on solid state drives.
|
||||
#
|
||||
for i in / /boot /var; do
|
||||
fstrim $i 2>&1 >/dev/null
|
||||
done
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
etc/fcron.daily/trim
|
||||
usr/bin/fstrim
|
||||
|
||||
Reference in New Issue
Block a user