10.03.2019, 01:07
(10.03.2019, 00:07)Erwin van der Zwart Wrote: Hi,
Try this:
BR,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
Great, thats what I need. Thank you!