mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 19:05:37 +00:00
Merge pull request #554 from justincormack/trim
Add weekly cron job to TRIM drive
This commit is contained in:
commit
6b002dcd5f
4
alpine/etc/periodic/weekly/trim
Executable file
4
alpine/etc/periodic/weekly/trim
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
# TODO check with hdparm if supports TRIM
|
||||
/sbin/fstrim /var || true
|
Loading…
Reference in New Issue
Block a user