openwisp / openwisp-config

OpenWRT configuration agent for OpenWISP Controller
https://openwisp.io/docs/stable/openwrt-config-agent/
GNU General Public License v3.0
374 stars 59 forks source link

[bug] Important directory /etc/openwisp is not preserved across sysupgrades #203

Closed okraits closed 7 months ago

okraits commented 7 months ago

The directory /etc/openwisp contains important information regarding the UCI configuration before and about any changes made by the OpenWISP agent. If it is not preserved across sysupgrades, then configuration changes made by the agent can't be rolled back after any sysupgrade happened.

Currently, this directory will not be preserved across sysupgrades. This needs to be fixed.