What's new
  • 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!

Little question about fresh 3.0.0.4_376.49_alpha1

Scaner

Occasional Visitor
Hello forum users,

Just compiled alpha firmware for my RT-AC56U and I have ve noticed that than I try to start any script from "/jffs/scripts" I see message like "sh: <script> not found" (although I can see it by cat) so need to input full path "/jffs/scripts/<script>" to start it. In previous build (376.48_1) I did not have to do this. It's not annoying just was curious.)

Thank you for your attention!
 
Last edited:
Hello forum users,

Just compiled alpha firmware for my RT-AC56U and I have ve noticed that than I try to start any script from "/jffs/scripts" I see message like "sh: <script> not found" (although I can see it by cat) so need to input full path "/jffs/scripts/<script>" to start it. In previous build (376.48_1) I did not have to do this. It's not annoying just was curious.)

Thank you for your attention!

This is normal behaviour for Linux, the current work directory is never part of the default search path, so you always need to specify the full path if a script or an executable is not part of the search path.

This was also the case with previous releases, and will also be the case for any standard Linux-based system.
 
This is normal behaviour for Linux, the current work directory is never part of the default search path, so you always need to specify the full path if a script or an executable is not part of the search path.

This was also the case with previous releases, and will also be the case for any standard Linux-based system.
Thank you for reply! If it so I can not undestand why it worked earlier. I`ve just started script manually from this directory without full path (of coure i did not add this directory to default search path, strangely).
 

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