]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fstrim: remove fstab condition from fstrim.timer
authorDusty Mabe <dusty@dustymabe.com>
Tue, 13 Oct 2020 15:26:16 +0000 (11:26 -0400)
committerDusty Mabe <dusty@dustymabe.com>
Tue, 13 Oct 2020 15:28:07 +0000 (11:28 -0400)
In 9995da0 we added support to fstrim to be able to fall back to
`/proc/self/mountinfo` if `/etc/fstab` didn't exist, but we forgot
to remove the `/etc/fstab` condition from the timer. Let's remove
that condition from the timer so we can go back to periodically
running `fstrim.service`.

sys-utils/fstrim.timer

index b9e4d577cacd1ff96e9100c7cea429752bb8b428..54b3c18f59153f38aca1ad3612a8ea9dff5900f4 100644 (file)
@@ -1,7 +1,6 @@
 [Unit]
 Description=Discard unused blocks once a week
 Documentation=man:fstrim
-ConditionPathExists=/etc/fstab
 ConditionVirtualization=!container
 
 [Timer]