Merge pull request #2398 from kszaq/aml_trim

projects/Amlogic: fstrim all trimmable mounts
This commit is contained in:
Radostan Riedel 2018-01-06 21:49:36 +01:00 committed by GitHub
commit 6271a29de7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,9 @@
[Unit]
Description=fstrim storage partition
Description=Apply TRIM on all trimmable mounts
[Service]
Type=simple
ExecStart=[ -f /flash/kernel.img ] || /usr/sbin/fstrim /storage
ExecStart=-/usr/sbin/fstrim -a -v
[Install]
WantedBy=basic.target