What's new

No /etc/init.d

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

someguy45

New Around Here
I want to restart networking from the command prompt. What is the command?. I would normally restart through /etc/init.d, but that does not exist.
 
Asuswrt does not use Sys V initd, it's a custom embedded environment with its own custom preinit process.

To restart the networking stack:

Code:
service restart_net

Or, for a more thorough restart:

Code:
service restart_net_and_phy

There is no list of these commands, they are internal commands not generally intended for end-user usage. You have to browse through the source code to find them.
 
Asuswrt does not use Sys V initd, it's a custom embedded environment with its own custom preinit process.

To restart the networking stack:

Code:
service restart_net

Or, for a more thorough restart:

Code:
service restart_net_and_phy

There is no list of these commands, they are internal commands not generally intended for end-user usage. You have to browse through the source code to find them.
I figured they were internal. I was on the github repo and found the second command you listed, but was not sure how to run it or if it was correct. Thank you.
 

Sign Up For SNBForums Daily Digest

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