Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread David Lang
On Wed, 27 Jan 2016, Karl Palsson wrote: I think you may have misunderstood. S10_boot runs the files in /etc/uci-defaults/* The files in _/etc/uci-defaults/_ do not all start with a numerical prefix, and are provided by any and all package that has any config it wants to run. So, for a _package

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread Jo-Philipp Wich
Hi, > So, /etc/uci-defaults/z999-something works, but is there a > better way? Not yet - but we could start changing packages to use numerical prefixes. I do not suppose that sooo many uci-default scripts are used. ~ Jow ___ openwrt-devel mailing l

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Lang wrote: > On Wed, 27 Jan 2016, Karl Palsson wrote: > > > David Lang wrote: > >>> > >>> Now, yes, I can have my 80_mystuff script go and try and create > >>> the package config files it might want to modify, but really, I > >>> want "mystuf

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread David Lang
On Wed, 27 Jan 2016, Karl Palsson wrote: David Lang wrote: Now, yes, I can have my 80_mystuff script go and try and create the package config files it might want to modify, but really, I want "mystuff" to run _last_ or at least, after all the packages have run. Is there any better system for

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Lang wrote: > > > > Now, yes, I can have my 80_mystuff script go and try and create > > the package config files it might want to modify, but really, I > > want "mystuff" to run _last_ or at least, after all the packages > > have run. Is there a

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread David Lang
On Wed, 27 Jan 2016, Karl Palsson wrote: Along these lines, I've tried putting in something like 80_mystuff, where I want to set some configurations options for various packages that depend on the hardware they're running on. However, the uci-defaults files are run in alphabetical order, so whil

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread David Lang
On Wed, 27 Jan 2016, Karl Palsson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Schultz wrote: Guillermo, It's always best to use a custom package if you can. Modifying upstream leads to problems like this. I don't think you'd need those changes in uci-defaults.sh. Instead, I th

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Schultz wrote: > Guillermo, > > It's always best to use a custom package if you can. Modifying > upstream leads to problems like this. > > I don't think you'd need those changes in uci-defaults.sh. > Instead, I think you should put your changes

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread David Lang
devel@lists.openwrt.org, guille...@geryon.com.ar Subject: [OpenWrt-Devel] Question about custom script at init on Trunk.- Hello everyone, At first, I should say that I?ve been away a long time from openwrt-devel mailing list. I was using Barrier Braker 14.07 to build our custom firmware, usually f

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-26 Thread Eric Schultz
Guillermo, It's always best to use a custom package if you can. Modifying upstream leads to problems like this. I don't think you'd need those changes in uci-defaults.sh. Instead, I think you should put your changes in your own uci-default, like 02_network, but your own. Use a number after 02, li

[OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-26 Thread Guillermo Javier Nardoni
Hello everyone, At first, I should say that I’ve been away a long time from openwrt-devel mailing list. I was using Barrier Braker 14.07 to build our custom firmware, usually for TP-Link WR740/741 v3/v4, but recently we have received TP-Link WR740 v5 (a.k.a. 741 v5) so I figured out that Barrie