Merge pull request #63 from JeremyRand/fstrim

Try Buster fstrim path if Stretch path not found
This commit is contained in:
SolidHal 2018-12-11 11:55:45 -06:00 committed by GitHub
commit 89609ea183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ cp -rf $DIR/30-touchpad.conf /etc/X11/xorg.conf.d/
apt clean && apt autoremove --purge
#enable periodic TRIM
cp /usr/share/doc/util-linux/examples/fstrim.{service,timer} /etc/systemd/system
cp /usr/share/doc/util-linux/examples/fstrim.{service,timer} /etc/systemd/system || cp /lib/systemd/system/fstrim.{service,timer} /etc/systemd/system
systemctl enable fstrim.timer
dmesg -D