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!

Script as daemon

timmib

New Around Here
Hi there,

i have a RT-AC66U with 380.70 installed and ask myself what is the best way to let a script run on boot and even more important after ssh-logoff.

Is there anything like init scripts or systemd?

The script is collecting wifi-client information and calling curl to push it to influxdb every 10 seconds.

Regards

Tim
 
If you install Merlin firmware you can initiate scripts from many different triggers.


Sent from my iPhone using Tapatalk
 
You don’t need the .sh extension


Sent from my iPhone using Tapatalk
 

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