variables with random values
Giorgio
giorgio.nicole at arcor.de
Thu May 12 12:34:21 PDT 2016
Hi,
I'm writing a shell script within barebox to assist an embedded board
initialization process. Some commands in the script do firmware
download with tftp; to allow initializing more than one board at
a time I need to assign every board a random ip address; I would
like to have a shell variable that every time it is dereferenced
it results in a new random (8 bits) value so I could write:
eth0.ipaddr=10.$RND.$RND.$RND
Is there a way to do something similar in barebox ?
giorgio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20160512/72954055/attachment.sig>
More information about the barebox
mailing list