[LEDE-DEV] Looking for beta testers for new package: slide-switch

2016-09-05 Thread Jeffery To
Hi, I've written a small utility called slide-switch that translates slide switch position changes into normal button presses. For devices with a (3-position) slide switch, for example the TP-Link TL-MR3020, the switch is usually represented to the system as two push buttons. So a change to the s

[LEDE-DEV] [RFC] base-files: call "sync" before removing uci-defaults file

2016-09-05 Thread Rafał Miłecki
From: Rafał Miłecki It makes booting more reliable in case of power cuts. Up to now some file system changes done in uci-defaults could be lost due to lack of flushing. It was easy to spot with scripts creating files: after a power cut created file was empty and uci-defaults script was deleted.

Re: [LEDE-DEV] RFC netifd: UCI parameter to sort name servers in resolv.conf.auto

2016-09-05 Thread Toke Høiland-Jørgensen
Hans Dedecker writes: > Hi Felix, > > Current implementation in netifd writes the dns servers into > resolv.conf.auto file based on the order of the interfaces in the > interface list which is alphabetical sorted. The resolver, in this > case dnsmasq, reads the resolv.conf.auto file and queries t

Re: [LEDE-DEV] RFC netifd: UCI parameter to sort name servers in resolv.conf.auto

2016-09-05 Thread Hans Dedecker
On Mon, Sep 5, 2016 at 1:49 PM, Jo-Philipp Wich wrote: > Hi Hans, > > imho it would also make sense to take any existing metric setting into > account as well. At least I'd expect that if I have a wan1 with metric > 10 and a wan2 with metric 20 that the DNS server entries "inherit" the > same weig

Re: [LEDE-DEV] [PATCH ubus 0/3] ubusd: fix ACL checking

2016-09-05 Thread Felix Fietkau
On 2016-09-05 10:21, Denis Osvald wrote: > Ping? I've applied patch 1 and 3. I need more time to properly review patch 2. - Felix ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] RFC netifd: UCI parameter to sort name servers in resolv.conf.auto

2016-09-05 Thread Jo-Philipp Wich
Hi Hans, imho it would also make sense to take any existing metric setting into account as well. At least I'd expect that if I have a wan1 with metric 10 and a wan2 with metric 20 that the DNS server entries "inherit" the same weight/order. So priority wise I'd first order by dns metric, then by

Re: [LEDE-DEV] RFC netifd: UCI parameter to sort name servers in resolv.conf.auto

2016-09-05 Thread Felix Fietkau
On 2016-09-05 10:45, Hans Dedecker wrote: > Hi Felix, > > Current implementation in netifd writes the dns servers into > resolv.conf.auto file based on the order of the interfaces in the > interface list which is alphabetical sorted. The resolver, in this > case dnsmasq, reads the resolv.conf.auto

[LEDE-DEV] RFC netifd: UCI parameter to sort name servers in resolv.conf.auto

2016-09-05 Thread Hans Dedecker
Hi Felix, Current implementation in netifd writes the dns servers into resolv.conf.auto file based on the order of the interfaces in the interface list which is alphabetical sorted. The resolver, in this case dnsmasq, reads the resolv.conf.auto file and queries the nameserver(s) in the order liste

Re: [LEDE-DEV] [PATCH ubus 0/3] ubusd: fix ACL checking

2016-09-05 Thread Denis Osvald
Ping? On 2016-08-25 13:54, Denis Osvald wrote: > Denis Osvald (3): > ubusd: don't check ACL when object is NULL > ubusd: fallback to linear search on ACLs to fix wildcards > ubusd: fix inverted check in ubusd_reply_add > > ubusd_acl.c | 20 +--- > 1 file changed, 9 insertio