What's new

Is there a problem calling "nvram set" inside a custom script?

  • 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!

Nazgulled

Regular Contributor
Following the solution to a particular problem on this thread, I was wondering if there is any kind of problem or danger in calling "nvram set" command inside a custom script?

In this particular case, I'm calling nvram set wan1_dns="(...)" inside the dnsmasq.postconf script.

Is this OK to do?
 

Similar threads

Latest 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!
Top