mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #2398 from kszaq/aml_trim
projects/Amlogic: fstrim all trimmable mounts
This commit is contained in:
commit
6271a29de7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user