FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

12691 questions

15070 answers

24150 comments

47148 members

0 votes
130 views 0 comments
by
I have a python code that runs on my RUT955.
I want this code to start when the device is rebooted. How can I do this?

Thank you for help

1 Answer

0 votes
by

Hello,

To execute scripts every time the device finishes booting, simply add them in the rc.local file located in the /etc directory by logging to the router via SSH. 

You can also access the same file via WebUI, by navigating to System -> Custom scripts.

Best regards,

Žygimantas