Is there any way to to programatically determine which Omega I have
I need a reliable method to determine which Omega model I am running on. Since the Pro is ostensibly a 2+ I can't see any way to query the hardware to determine the model at run time.
@crispyoz On a genuine Onion device with an official, untouched, factory installed firmware this command - very likely - is able to identify the board correctly:
ubus call system board
Thank you @György-Farkas that works on my custom firmware, now I just have to work out how to do it in C. I'll check the docs. Thank you !
If you want something more OS independent you might look at the reported memory, since there seem to be differences (64, 128, or 512) - see /proc/meminfo or similar