FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
703 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 anonymous

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 anonymous
Is it also valid for the RUT955 ?
by anonymous

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)