Merge pull request #777 from justincormack/win-trim

Run TRIM on Windows every 15m
This commit is contained in:
Justin Cormack 2016-11-23 03:37:33 -08:00 committed by GitHub
commit f2b8beb0ee

4
alpine/etc/periodic/15m/trim Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# Windows always has TRIM support, clean out unused frequently
[ "$(mobyplatform)" = "windows" ] && /sbin/fstrim /var