Uniquely identifying a platform programmatically

Petr Štetiar ynezz at true.cz
Mon May 17 23:48:02 PDT 2021


Philip Prindeville <philipp_subx at redfish-solutions.com> [2021-05-17 16:43:24]:

> I could grovel the target profile out of /etc/board.json, but then my
> scripting needs to support 'jq', etc.

 $ ubus call system board | jsonfilter -e @.model -e @.board_name

-- ynezz



More information about the openwrt-devel mailing list