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

Senior Member
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
 
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.
 
Read about custom settings in the add-on api wiki.

 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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

Staff online

Top