10.03.2019, 00:07
(This post was last modified: 10.03.2019, 00:09 by Erwin van der Zwart.)
Hi,
Try this:
BR,
Erwin
Try this:
Code:
local ARM = io.readproc('cat /proc/cpuinfo | grep \"model name\"'):match('%d+')
log(ARM)
local FW = io.readfile('/lib/genohm-scada/version'):split('.')
FW = FW[1]*1000000 + FW[2]*1000 + FW[3]
log(FW)
Erwin