What's new

Correct Script or Config File to Add Custom NVRAM Values

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

HarryMuscle

Regular Contributor
I tried adding a custom NVRAM key/value (that one of my scripts requires) to the router configuration file (.cfg file) so that it can be included whenever I do a configuration restore, however, it looks like that's not possible. Restoring a configuration file only seems to restore NVRAM values that the router knows about and it seems to ignore any custom NVRAM values added in the configuration file (btw, I'm using WRTSettings to edit the configuration file). So I'm wondering if there is an "official" script or config file on the JFFS partition where additional custom NVRAM keys/values should go in order to actually be added into NVRAM?

Thanks,
Harry
 

drinkingbird

Part of the Furniture
I've provided you previously the link to the wiki on scripts, that along with the search feature in this forum should give you the answer you need.
 

HarryMuscle

Regular Contributor
I've provided you previously the link to the wiki on scripts, that along with the search feature in this forum should give you the answer you need.
I've looked through the wiki, nowhere does it actually answer my question specifically unfortunately.
 

HarryMuscle

Regular Contributor
Like I said, that along with the search feature of the forum.
Everything I'm finding via a search is about existing NVRAM keys that the router knows about and is expecting which one can just put in the .cfg file. My question is about custom NVRAM keys.
 

Similar threads

Sign Up For SNBForums Daily Digest

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