mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +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]
|
[Unit]
|
||||||
Description=fstrim storage partition
|
Description=Apply TRIM on all trimmable mounts
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=[ -f /flash/kernel.img ] || /usr/sbin/fstrim /storage
|
ExecStart=-/usr/sbin/fstrim -a -v
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=basic.target
|
WantedBy=basic.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user