12-05-2016, 01:20 AM
Can some please fur ther explain this yellow box to me. I'm fairly new to this and don't understand what I'm looking at since there is no direct command and example. I don't understand the copy area in the yellow box and how I'm supposed to modify it. I coped this from the help manual:
Terminal Command:
sudo leafpad /etc/rc.local
Above the line exit 0 in that file, add the TRIM command fstrim -v for every EXT4 partition from your fstab file.
Copy the text below and edit it to match your set up. We include the creation of a log for you so you can check if trim is performed during boot up. The log is in /var/log/trim.log
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
LOG=/var/log/trim.log
echo “*** $(date -R) ***” >> $LOG
fstrim -v /boot >> $LOG
fstrim -v / >> $LOG
fstrim -v /home >> $LOG
echo " " >> $LOG
exit 0
Terminal Command:
sudo leafpad /etc/rc.local
Above the line exit 0 in that file, add the TRIM command fstrim -v for every EXT4 partition from your fstab file.
Copy the text below and edit it to match your set up. We include the creation of a log for you so you can check if trim is performed during boot up. The log is in /var/log/trim.log
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
LOG=/var/log/trim.log
echo “*** $(date -R) ***” >> $LOG
fstrim -v /boot >> $LOG
fstrim -v / >> $LOG
fstrim -v /home >> $LOG
echo " " >> $LOG
exit 0