Re: [OpenWrt-Devel] [RFC PATCH] kirkwood: use real model names for Linksys devices

2020-06-14 Thread Stan Grishin
> -- Forwarded message -- > From: "Paweł Dembicki" > To: Adrian Schmutzler > Cc: OpenWrt Development List > Bcc: > Date: Sun, 14 Jun 2020 21:52:11 +0200 > Subject: Re: [OpenWrt-Devel] [RFC PATCH] kirkwood: use real model names for > Linksys devices > sob., 13 cze 2020 o 22:09 Ad

Re: [OpenWrt-Devel] openwrt-devel Digest, Vol 50, Issue 39

2020-06-08 Thread Stan Grishin
Baptiste, Thanks for taking a lead on this, it's a fantastic idea! I've had a look at the project ideas posted, and I'd like to put my name forward for a few areas where I'd like to contribute: 1. There is a great documentation for creating lua-based luci applications and model/cbi which allowed

Re: [OpenWrt-Devel] [PATCH] base-files: add list-enabled/disabled to service function in /etc/profile

2020-06-04 Thread Stan Grishin
S; do > echo "$SERVICE: `ubus call service list | jsonfilter -e > "@.$SERVICE.instances[\"*\"].running"`" > done > > On Thu, Jun 4, 2020 at 2:56 AM Stan Grishin wrote: >> >> On Wed, Jun 3, 2020 at 4:53 PM Michael Jones wrote: >> > >&g

Re: [OpenWrt-Devel] [PATCH] base-files: add list-enabled/disabled to service function in /etc/profile

2020-06-04 Thread Stan Grishin
t;true" ] \ && echo "running" || echo "stopped" ) done; fi ? On Thu, Jun 4, 2020 at 6:02 AM Paul Fertser wrote: > > On Thu, Jun 04, 2020 at 02:56:31AM -0700, Stan Grishin wrote: > > If there's a one/two l

Re: [OpenWrt-Devel] [PATCH] base-files: add list-enabled/disabled to service function in /etc/profile

2020-06-04 Thread Stan Grishin
On Wed, Jun 3, 2020 at 4:53 PM Michael Jones wrote: > > > > On Wed, Jun 3, 2020 at 6:21 PM Stan Grishin wrote: >> >> To obtain the list of enabled (for autostart) services, you'd type >> service list-enabled. For disabled services service list-disabled. It &g

Re: [OpenWrt-Devel] [PATCH] base-files: add list-enabled/disabled to service function in /etc/profile

2020-06-03 Thread Stan Grishin
available:" for F in /etc/init.d/* ; do $F enabled && echo "$F (autostart enabled)" || echo "$F (autostart **disabled**)" done; fi Please elaborate on the list-start and list-stop questi

[OpenWrt-Devel] [PATCH] base-files: add status-ubus to init script parameters in /etc/rc.common

2020-06-03 Thread Stan Grishin
Implement $initscript status-ubus as a short-hand for ubus call service list "{'name': '$initscript'}" Signed-off-by: Stan Grishin --- package/base-files/files/etc/rc.common | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --

[OpenWrt-Devel] [PATCH] base-files: add list-enabled/disabled to service function in /etc/profile

2020-06-03 Thread Stan Grishin
Implement service list-enabled and service list-disabled to provide an easy way for users to list enabled/disabled services from CLI. Signed-off-by: Stan Grishin --- package/base-files/files/etc/profile | 21 + 1 file changed, 21 insertions(+) diff --git a/package/base

[OpenWrt-Devel] new functionality for service shell function

2020-04-13 Thread Stan Grishin
I've been using something similar on my system and propose the following patch (first submission to the list, be gentle ;)): diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index 0beff1608f..e8350cfd6a 100644 --- a/package/base-files/files/etc/profile +++ b

[OpenWrt-Devel] Using the SDK vs toolchain for custom packages; SDK HW requirements;

2020-04-13 Thread Stan Grishin
Is there a difference between using pre-built SDK (from downloads.openwrt.org) vs the toolchain from git for building custom packages? I've been using SDK, but here and from PMs on the forum I see toolchain recommended -- why? Also, I have only been installing only some libs + luci-base with ./scr