On Fri, 2011-01-28 at 11:28 +1300, Hanno Schupp wrote:
> I am asking as some configuration like network and wireless may be set
> by the system on boot, so if one would like to add to
> the /etc/config/wireless configuration (i.e. by setting the power to
> max possible or, setting diversity etc.) then this is not possible, as
> the /etc/config/wireless file does not exist before /etc/init.d
> scripts are fired. So this means one would be looking for a
> first-boot-script facility that is triggered after /etc/init.d is all
> completed.  Does this facility exist? 

For the example of the wireless configuration file, it will not be
generated if it already exists. So if you need to preconfigure it, you
could write it out in the uci-defaults script and have the network
init.d script pick the generated configuration up and use it.

HTH,

Ithamar.


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to