Add weekly cron job to TRIM drive

See #536

This is the recommended frequency. For desktop this might be less
suitable, so we may want to adjust

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-09-24 14:18:49 +01:00
parent 304b8e1cb9
commit 131122c3b2

View File

@ -0,0 +1,4 @@
#!/bin/sh
# TODO check with hdparm if supports TRIM
/sbin/fstrim /var || true