mirror of
https://github.com/srlabs/blue-merle.git
synced 2024-12-22 13:55:00 -05:00
lua: make a 15 digit IMEI
This commit is contained in:
parent
1cd1125cfe
commit
a3fff24042
@ -45,7 +45,7 @@ function make_imei (premei)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function make_random_imei ()
|
function make_random_imei ()
|
||||||
local nDigits = 13
|
local nDigits = 14
|
||||||
local premei = ""
|
local premei = ""
|
||||||
for count = 0, nDigits-1 do
|
for count = 0, nDigits-1 do
|
||||||
premei = premei .. tostring (math.random (0, 9))
|
premei = premei .. tostring (math.random (0, 9))
|
||||||
|
Loading…
Reference in New Issue
Block a user