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 model detection ( I assume it is part of
the start up sequence )? -  I would like to know from which point in
the /etc/init.d sequence of start up programs the information is
available.

Any pointers welcome.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to