projects/Amlogic: add fstrim storage partition service

This commit is contained in:
afl1 2017-12-31 16:28:23 +01:00 committed by Adam Green
parent 3a71ac29dd
commit 886915d8a6
No known key found for this signature in database
GPG Key ID: 52B701B6EF2F2E58

View File

@ -0,0 +1,9 @@
[Unit]
Description=fstrim storage partition
[Service]
Type=simple
ExecStart=[ -f /flash/kernel.img ] || /usr/sbin/fstrim /storage
[Install]
WantedBy=basic.target