Butterfly Bones
Very Senior Member
As suspected you don't have enough available ram to unload the contents of the swap file, so you will need to uninstall in two stages;
Code:sed -i '\~swapon ~d' /jffs/scripts/post-mount
Followed by a reboot of your router, then;
Code:swapoff -a rm -rf "/tmp/mnt/USB/myswap.swp"
Then the swap install command should work as expected.
Solved! I light went on when @Makaveli mentioned SSD. I had added a spare 1 TB SSD to use for Apple TimeMachine when I got a Macbook this summer. I copied all files from my USB thumb drive to my Linux desktop except myswap.swp, then copied all of them to the 1 TB SSD.Switching to a SSD was probably the best thing I did. no more worrying about usb drives dying. And accessing everything on the scripts are very quick.
lol now that you have added that warning i'm getting it now due to my 512mb swap file which hasn't given me any issues at all. Not sure if i'm going to enlarge it.
Shutdown the router, pulled the thumb drive, booted back up. Opened AMTM, created a 1 GB swap, and all scripts except Skynet worked (Could not find USB, sleeping xx seconds...) I just reran the Skynet curl install command, went through all the setup questions and Skynet found the existing files.
Opened Skynet from AMTM, and it works everything updated. AMTM update check shows all scripts up-to-date. All scripts and add ons are much snappier on the 1 TB SSD!
For any who do this, and had to change the location of the Traffic stats in Tools > Other settings.
Code:
Feb 15 11:29:33 RT-AC86U-4608 rstats[987]: Problem loading /mnt/SNB/tomato_rstats_88d7f61d4608.gz. Still trying...