Jump to content

[ALL] [MOD/Other] Disable/Enable *SWAP *zRam *Fstrim

Guest Victod

Recommended Posts

Guest garynych

in script 77fstrim error...


# Extends flash memory life and holds speed over time

busybox mount -o remount,rw -t auto /system;
busybox mount -o remount,rw -t auto /data;

if [ -e /data/Trim.log ]; then
rm /data/Trim.log

echo "* $(date +"%m-%d-%Y %r") *" >> $LOG
echo "*In /data*" >> $LOG
fstrim -v /data >> $LOG
echo "*In /cache*" >> $LOG
fstrim -v /cache >> $LOG
echo "*In /system*" >> $LOG
fstrim -v /system >> $LOG
echo "" >> $LOG
echo "Victod's Scripts" >> $LOG
echo "___________________________________**" >> $LOG
echo "" >> $LOG

need correct:


LOG=/data/trim.log like this LOG=/data/Trim.log

Link to comment
Share on other sites

  • 4 years later...

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.