Disable JFFS custom scripts and configs

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

dobri

Occasional Visitor
What exactly "Enable JFFS custom scripts and configs" does? More specifically, what does setting it to "No" do?

I had a working router, with Entware, a few custom scripts, a few custom configs, all perfectly working. One day I notices something strange and decided to troubleshoot it by removing all the things that I added. I have my backups, but decided it will be easier if I just temporary disable "JFFS custom scripts and configs", check how it is, then enable it again. The way it sounds setting this option to "No" should disable all custom scripts and configs, and without them the router should work as if I never installed anything additional on it. It didn't work this way. My router refused to boot. It also refused to boot without the attached USB drive with Entware either. Or based on what I see on the LEDs, it boots, but a couple of seconds after initializing the network ports it reboots.

Not a big deal, right? The WIKI page for postconfig scripts ends with:
"Make sure those scripts do exit properly, or the router will be stuck during boot, requiring a factory default reset to recover it."

I couldn't reset it back to factory default setting. The Hard Reset didn't help either. Even flashing the original Asus firmware through Firmware Restoration utility didn't change anything - it says it successfully recovered the system, but I still can't get to the router. As a matter of fact none of those actions changed anything that I can observe.

I can't come up with any explanation how my action led to everything that happened after that, but I don't believe in coincidences either....

So, what does setting "Enable JFFS custom scripts and configs" to "No" do? Is this a legitimate way of temporary disabling all custom scripts?
 

L&LD

Part of the Furniture
Without safely removing the USB drive that holds Entware, the swap file, and scripts, I wouldn't turn that setting off.

Setting it to 'No' more than likely makes it read-only (at least from the user's perspective).

What 'Hard Reset' didn't work? Flashing different firmware on the router won't change the configuration it's in.

I would say it's not a legitimate way of disabling scripts. If you wanted to do that, safely removing the USB drive and then physically removing it, and followed by a reboot, would have been what I would have suggested to you.
 

RMerlin

Asuswrt-Merlin dev
So, what does setting "Enable JFFS custom scripts and configs" to "No" do?

It simply tells the router to ignore any of the supported custom scripts or configs, as the description says.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top