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.
+1 vote
661 views 0 comments
by anonymous
Hello,

The file sysupgrade.conf contains files and dirs preserved during an firmware upgrade: whatever the option "keep all settings" or not ?

As the /etc/rc.d directory is inside, the user scripts should be stored in /etc/rc.d and the calls in /etc/rc.local: correct ?

Why the /etc/rc.local file is not in sysupgrade.conf ?

What is the difference if I store my scripts in /etc/config ?

1 Answer

0 votes
by anonymous
Hi,

Sysupgrade.conf preserves files and directories when "keep all settings" is selected, when this flag isn't selected, device gets reset to default settings.
Sysupgrade.conf also preserves files into backup configuration which can be downloaded in WebUI -> System -> Administration -> Backup, so all scripts, directories and configuration files can be transferred to devices with identical hardware.

Standard practice is to store user scripts into /usr/sbin directory and if you want to preserve them, include path to it into sysupgrade.conf file.