UCI config migration across OpenWrt releases

Tanjeff Moos Tanjeff.Moos at westermo.com
Tue Apr 14 06:17:56 PDT 2026


On 4/14/26 01:58, Eric wrote:
> For the most part, crossing one version works just fine.  Most
> packages these days use a uci-defaults script to upgrade their
> config if there are any changes, although of course you'll no
> doubt find exceptions somewhere.
As I understand it, uci-default scripts run only on first boot (after a 
factory reset) and are then deleted. How can they run during/after an 
upgrade?

Regards, Tanjeff



More information about the openwrt-devel mailing list