When building custom firmware, the docs indicate that if you want to customise files they can be placed in <build_root>/files
To replace /etc/banner you would place the new banner file in <build_root>/files/etc/banner
This doesn't work, but if I create a new file for example <build_root>/files/etc/banner.test this file is included in the firmware build.
Has anyone successfully replaced the banner file in a custom firmware build?
Your file will be there, but is being replaced and removed at startup by the code in:
Thanks @cas I din't know you could run scripts from files. Need to look into that.
UCI defaults is a special directory where you can drop scripts to do initial device setups or configurations on first boot.