I have personal scripts in /root and they are wiped with upgrading the firmware even with keeping config setting. Why? and how to disable it? From previous years when I had my own vanilla OpenWRT router, all personal settings were saved during firmware upgrade including /root and /etc.
I think there was a file under /etc/sysupgrade.conf or something where you could add folders to keep which wont be wiped for new firmware. /root should be default though for this, no?
This file should contains your platform’s proprietary files
and directories that need to be preserved during OpenWRT sysupgrade.
/etc/example.conf
/etc/wireless/
/etc/config/gl_nas/
This is the default file for Brume 2. Can I just put /root into it and files will be preserved?
What about config files under /etc/, it seems other config files under /etc/mosquitto/ were also wiped like password files…
GLInet need to add a separate warning and also gui here:
Unfortunately, this is how GL iNet engineers have written the update code.
I have also been burned by their updates, and found that posts to this forum does not help, so I have written my own scripts to backup everything important on my GL iNet routers.
I make no apologies for being so brazen. It’s not like I expect any thanks when it bails out anyone’s ass outta the fire when they fcvk up trying to go beyond stock. /s
GL is two full releases behind current OWRT; I highly doubt they’re going to prioritize such a feature request given the target demographic. Until then it’s a damn good thing we can roll our own. One can dream, though…