So it seems OpenWrt config should be easy to version-control, right? Just ssh myrouter uci export > myrouter.conf git add myrouter.conf
...except it contains the defaults. Explicitly set, indistinguishable for something manually changed.
And if I ever want to port my config to a newer OpenWrt version, or a different router with a different set of packages installed, I need to know which settings I changed on purpose, and which are just the defaults.
So it seems OpenWrt config should be easy to version-control, right?
Just
ssh myrouter uci export > myrouter.conf
git add myrouter.conf
...except it contains the defaults. Explicitly set, indistinguishable for something manually changed.
And if I ever want to port my config to a newer OpenWrt version, or a different router with a different set of packages installed, I need to know which settings I changed on purpose, and which are just the defaults.