As per the title, is there somewhere that I can see all the default configs that exist in a sysupgrade image were I to flash it without keeping my configs?
Does this exist in the Github repo or wiki somewhere for example?
Thanks
As per the title, is there somewhere that I can see all the default configs that exist in a sysupgrade image were I to flash it without keeping my configs?
Does this exist in the Github repo or wiki somewhere for example?
Thanks
Nowhere, an important part of the config files is dynamically generated on the first boot, depending on the device you've flashed.
Not really following. I think you want to see all the default configs the first time you upgrade to a new sysupgrade image without saving your configs.
You can create a file of your current configs with uci export > /tmp/my_configs and save it to persistent storage. Then after Flashing a new Sysupgrade without keeping configs you run uci export > /tmp/base_configs and save that to persistent storage. You can compare the two files side by side with diff -y <path to/>base_configs <path to/>my_configs
I realise every device will be slightly different, but much of it will be the same, no?
Just want to have them as a handy resource to refer to. Thanks for the uci export pointer, I will do that on a newly flashed device. (I suppose I could also use LuCI's Backup menu item) Just wondered if the defaults (minus dynamically generated device speceific settings) were listed somewhere.
Thanks both
In general, the goal is identical behaviour among 'all' devices - how that can be accomplished, may be very different between devices (example: DSA vs swconfig vs dedicated network cards).