7877 questions

9301 answers

14976 comments

12781 members

0 votes
291 views 2 comments
by
Hi..
I have my own scripts and program that I need to be running on the X11.

I have: mkdir /usr/mystuff
And put my stuff there and then added cron jobs that start my program.

But when I do an firmware upgrade everything get wiped only the cronjobs for the root user will still be there.

My question:  How can I make sure my own stuff will still work after a firmware update ?

1 Answer

0 votes
by

Hello,

Option A: Place your custom script it "/etc/config" directory. Its contents is untouched if firmware upgrade is done with "Keep setting" checkbox selected.

Option B: Place your custom script in any directory you like. Than open "/etc/config/sysupgrade.conf" file and enter path to script's directory. Directories, which will be listed in this file, will remain after firmware upgrade with "Keep settings" checkbox selected.

by
Is it also valid for the RUT955 ?
by

Yes, this is true for all Teltonika networking devices, at least if your device is running not very old firmware version (older firmware versions might not have "/etc/config/sysupgrade.conf" file)