Files known to be reset by Firmware updates - beware if you modify them

From SynologyWiki

Jump to: navigation, search

If you make changes to any of these files they will go back to system defaults when you do a firmware update.
These are some of the files I know for a fact will go back to system default, when you update the firmware.

It would be nice to have a method to restore these file automatically. For example a user script that gets called after the firmware update.

File File Location Comment
All files cd /root But not sub-directories other than .ssh. Hence make a sub-directory and put your files in there.
known_hosts cd /root/.ssh
.profile cd /root Consider modding /etc/profile instead
ipkg.conf cd /opt/etc
crontab cd /etc
rc.local cd /etc
passwd cd /etc
httpd.conf cd /usr/syno/apache/conf
php.ini cd /usr/syno/etc
httpd.conf-user cd /usr/syno/apache/conf
virtual.db cd /usr/syno/mailstation/etc
virtual cd /usr/syno/mailstation/etc
aliases cd /usr/syno/mailstation/etc
aliases.db cd /usr/syno/mailstation/etc

Personal tools