[LEDE-DEV] Script to gather system info for bug reports and similar.

Ben Greear greearb at candelatech.com
Wed May 11 10:38:00 PDT 2016


On 05/11/2016 01:02 AM, Bruno Randolf wrote:
> On 10/05/16 21:00, Ben Greear wrote:
>> Here is an initial pass at a script to gather pertinent info about
>> a LEDE (or similar) system.  Suggestions for improvement are welcome.
>>
>> If someone could add a way to put the git commit ID(s) into
>> the file system somewhere, I think that would be an excellent
>> addition.
>>
>> And once the script is in place, a way to call it through the web UI would
>> be most welcome.
>
> Some of these commands could be replaced by ubus calls. The benefit of
> this is could be that we get it structured as JSON so it's easier to
> parse and easy to upload to a webservice (e.g. for submitting test
> results or bug reports).

That looks good to me, though maybe include some of the more normal
unix command output as well for humans reading the bug report.

I don't know much about the LEDE build and package system..what is
the best way to add this script to the system?

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com




More information about the Lede-dev mailing list