[LEDE-DEV] Lua script as a ubus service using rpcd

2017-12-22 Thread Carlito Nueno
Hi all, I am trying to make a ubus service in lua. I placed a lua script (myluaservice) in /usr/libexec/rpcd but I didn't see it in ubus -v list. So I placed a shell script (myshellservice) in /usr/libexec/rpcd and moved the lua script (myluaservice) to /usr/bin/ and made both scripts executable

[LEDE-DEV] [PATCH v1] kmod-sched-cake: bump to latest bake

2017-12-22 Thread Kevin Darbyshire-Bryant
Fix overhead accounting error introduced by f33c4d6 refactor cake_advance_shaper and ack_filter Symptoms were links running under rate. Signed-off-by: Kevin Darbyshire-Bryant --- package/kernel/kmod-sched-cake/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pa

[LEDE-DEV] [PATCH v2 2/2] iproute2: cake: support new operating modes for 17.01

2017-12-22 Thread Kevin Darbyshire-Bryant
There has been recent significant activity with the cake qdisc of late Some of that effort is related to upstreaming to kernel & iproute2 mainline but we're not quite there yet. This commit teaches tc how to activate and interprete the latest cake operating modes, namely: ingress mode: Instead of

[LEDE-DEV] [PATCH v2 1/2] kmod-sched-cake: bump to latest bake of cake for 17.01

2017-12-22 Thread Kevin Darbyshire-Bryant
There has been recent significant activity with the cake qdisc of late but in the cobalt branch. Some of that effort is related to upstreaming to kernel & iproute2 mainline but we're not quite there yet. Relevant feature changes: ingress mode: Instead of only counting packets that make it past t

[LEDE-DEV] [PATCH v2 0/2] update cake support on 17.01

2017-12-22 Thread Kevin Darbyshire-Bryant
There has been recent significant activity with the cake qdisc of late Some of that effort is related to upstreaming to kernel & iproute2 mainline but we're not quite there yet. This commit series updates cake and iproute's tc to include the latest cake ingredients: ingress mode & ack filtering al

Re: [LEDE-DEV] [PATCH] jshn: add functionality to read big JSON

2017-12-22 Thread Christian Beier
Am Tue, 12 Dec 2017 19:39:48 +0100 schrieb Christian Beier : > Am Tue, 12 Dec 2017 12:03:50 +0100 > schrieb John Crispin : > > > Hi Christian, > > > > small formatting nitpick inline ... > > Hi John, > > Re-sending with tab adjustments and a space between if and the opening paren. > > Cheer

Re: [LEDE-DEV] [PATCH] base-files: rc.common: fix enable() return code and logic

2017-12-22 Thread Roman Yeryomin
On 2017-12-21 21:35, Roman Yeryomin wrote: In current state, if there is STOP but no START, enbale() will return 0 (success), which is wrong. Moreover there is no need to check for START/STOP twice. Instead, add err variable to save success state and and return it's value. Also eliminate the need

[LEDE-DEV] [PATCH v2] base-files: rc.common: fix enable() return code and logic

2017-12-22 Thread Roman Yeryomin
In current state, if there is START but no STOP, enbale() will return 1 (failure), which is wrong. Moreover there is no need to check for START/STOP twice. Instead, add err variable to save success state and and return it's value. Also eliminate the need to disable() by using 'ln -sf', which will f

Re: [LEDE-DEV] [PATCH 3/3] usbmode: remove devices with unsupported modes

2017-12-22 Thread Bjørn Mork
Julian Labus writes: > On 12/22/2017 10:48 AM, Bjørn Mork wrote: >> Julian Labus writes: >> >>> diff --git a/package/utils/usbmode/Makefile b/package/utils/usbmode/Makefile >>> index 7f0195fdce..1b1ef147b6 100644 >>> --- a/package/utils/usbmode/Makefile >>> +++ b/package/utils/usbmode/Makefile

Re: [LEDE-DEV] [PATCH 3/3] usbmode: remove devices with unsupported modes

2017-12-22 Thread Julian Labus
On 12/22/2017 10:48 AM, Bjørn Mork wrote: > Julian Labus writes: > >> diff --git a/package/utils/usbmode/Makefile b/package/utils/usbmode/Makefile >> index 7f0195fdce..1b1ef147b6 100644 >> --- a/package/utils/usbmode/Makefile >> +++ b/package/utils/usbmode/Makefile >> @@ -40,8 +40,13 @@ endef >>

Re: [LEDE-DEV] layerscape build bot problem

2017-12-22 Thread Y.b. Lu
Hi Hauke, I couldn’t open most links. But I think I got your point. I also find build issues of layerscape today. Let me generate patches to fix them next week. Thanks a lot. Best regards, Yangbo Lu > -Original Message- > From: Hauke Mehrtens [mailto:ha...@hauke-m.de] > Sent: 2017年12月

Re: [LEDE-DEV] [PATCH 3/3] usbmode: remove devices with unsupported modes

2017-12-22 Thread Bjørn Mork
Julian Labus writes: > diff --git a/package/utils/usbmode/Makefile b/package/utils/usbmode/Makefile > index 7f0195fdce..1b1ef147b6 100644 > --- a/package/utils/usbmode/Makefile > +++ b/package/utils/usbmode/Makefile > @@ -40,8 +40,13 @@ endef > define Build/Prepare > $(Build/Prepare/Defaul