What's new

Custom scripts dont start when reboot the router

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

Edit:
But when i run "touch /tmp/@@@services-start"
I see still nothing

This does not generate any output, all it does is create an empty file in /tmp/ .
 
Ok it is there but what is the sense of it?
 
Ok it is there but what is the sense of it?

You put it inside the script you need to test. That way, you can tell if the script actually ran or not by looking for the presence of that file in /tmp .
 
AH, got it.
Wil add the line.

Just upgrades tot the latest version.
Good work and support.

Tomato works fine but the Galaxy s4 from my son got a lot of disconnects.
My s4 works fine also all other devices.
Therefore back tot Merlins firmware.
But also the wifi works beter with merlin then tomato.

Again tnx
 
Hello:

I am suffering this problems against mi RT-AC88U. Excuse my english.
There are no panels to activate "jffs" and they are activated for ever. I put mi scripts under /jffs/scripts and even they executed OK directly, they don't exec at the startup.
I have found another solution having permanently connect and USB:
USING NVRAM to configure parameter "script_usbmount"

Command... nvram show 2>&1 | grep script_usbmount
returns... script_usbmount=
Command ... nvram set script_usbmount="/jffs/scripts/xxx.sh"
Command... nvram commit
Command... nvram show 2>&1 | grep script_usbmount
returns... script_usbmount=/jffs/scripts/xxx.sh

Whit this, the script xxx.sh is effectively execute at startup if they arre a pendrive inserted in USB port

I suppose that another variable of NVRAM could exec an script without pendrive inserted, but I don't know wich
 
Hello:

I am suffering this problems against mi RT-AC88U. Excuse my english.
There are no panels to activate "jffs" and they are activated for ever. I put mi scripts under /jffs/scripts and even they executed OK directly, they don't exec at the startup.
I have found another solution having permanently connect and USB:
USING NVRAM to configure parameter "script_usbmount"

Command... nvram show 2>&1 | grep script_usbmount
returns... script_usbmount=
Command ... nvram set script_usbmount="/jffs/scripts/xxx.sh"
Command... nvram commit
Command... nvram show 2>&1 | grep script_usbmount
returns... script_usbmount=/jffs/scripts/xxx.sh

Whit this, the script xxx.sh is effectively execute at startup if they arre a pendrive inserted in USB port

I suppose that another variable of NVRAM could exec an script without pendrive inserted, but I don't know wich

What firmware version?
 
I am sorry, I have noticed that it is a threath for MERLIN firmware and I have the official firmware ( 3.0.0.4.380_7266-g6439257).

I am thinkig into install MERLIN but ...

Thanks a lot
 
I am sorry, I have noticed that it is a threath for MERLIN firmware and I have the official firmware ( 3.0.0.4.380_7266-g6439257).

That's your problem then. JFFS custom scripts is a feature specific to my firmware.
 

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