[OpenWrt-Devel] Dynamically generate custom files before building?
Nguyễn Hồng Quân
ng.hong.quan at gmail.com
Tue Mar 24 12:14:32 EDT 2015
Hi
What I mean is each target device will have its own default config files.
I'm thinking about /etc/config/network and /etc/config/wireless.
I want to dynamically generate the custom files of those "network",
"wireless" and place in files/ folder. I want to find the default files,
modify it and copy to files/ folder. The modification will be set SSID, set
wireless password... Those actions are done by script.
The problem is I don't know where those default files are.
On Tue, Mar 24, 2015 at 12:11 PM, Christian Schoenebeck <
christian.schoenebeck at gmail.com> wrote:
> For me a shell script is doing the job. Calling parameter is the target.
> I use a separate configuration directory beside building directory.
> I copy the correct files for the target into the files directory
> and the correct .config into building directory
> and then call make. All inside the script.
>
If I cannot know where those default are. I may have to use this approach.
Thank nam228, when I look into the Makefile, I see it mentions "target"
folder. This may be a hint to look for.
--
Quân
***********************************************
* Nguyễn Hồng Quân *
* Y!M: ng_hquan_vn *
* Facebook: ng.hong.quan *
* Web: quan.hoabinh.vn *
***********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150325/0c566690/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list