Modifying rc.local file
I am trying to customize the firmware image for omega2pro by editing the rc.local file. I am using docker to build the system according to https://github.com/OnionIoT/source#option-a-using-the-docker-image.
Currently, I am creating a file called rc.local in
/files/etc. However, after the build it seems as if it is creating a different rc.local file.
Lazar Demin administrators last edited by Lazar Demin
@Antony this section of the openwrt build system documentation offers a good pointer: https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem#custom_files
"It is strongly recommended to use uci-defaults to incrementally integrate only the required customization. This helps minimize conflicts with auto-generated settings which can change between versions."