-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi.
> Remaining question:
> I have not checked the nixio code but I assume
> nixio.uname().machine
> would be
> uname -m
> in a bash shell script, right?
Correct.
~ Jow
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using
After I sent the question I remembered that pcdata is not providing
any data - it is just formatting data for output.
And the variable model, that is being formatted is coming from luci.sys.sysinfo
That function's code makes it all too clear:
function sysinfo()
local cpuinfo = fs.readfile
In the status overview I see the statement
<%=pcdata(model or "?")%>
which displays the detected router model, if detected. So far so good.
Three questions:
1) How can I access the same model data from the bash shell?
2) What other useful data is accessible under pcdata?
3) Which program does this