SSD fstab Using rc.local Add the folloing lines to the /etc/rc.local file. LOG=/var/log/trim.log echo "*** rc.local: $(date -R) ***" >> $LOG fstrim -v / >> $LOG echo "" >> $LOG