diff options
author | Tristan Sloughter <[email protected]> | 2015-08-22 16:46:23 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2015-08-22 16:46:23 -0500 |
commit | 0c7bc0422d1cd85eb1b627406316a6508b2d7b9e (patch) | |
tree | 87b788c33fce6dab19459275da1e21ece6efde70 /priv | |
parent | 4a92e204eb3d8e267c410f88f5986ac12c589017 (diff) | |
parent | cacfa3d3ff8197323586445b64e49257a92d9936 (diff) | |
download | relx-0c7bc0422d1cd85eb1b627406316a6508b2d7b9e.tar.gz relx-0c7bc0422d1cd85eb1b627406316a6508b2d7b9e.tar.bz2 relx-0c7bc0422d1cd85eb1b627406316a6508b2d7b9e.zip |
Merge pull request #382 from garret-smith/master
'od' only needs to read 4 bytes of random data
Diffstat (limited to 'priv')
-rwxr-xr-x | priv/templates/extended_bin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin index f584e51..5cd8035 100755 --- a/priv/templates/extended_bin +++ b/priv/templates/extended_bin @@ -60,7 +60,7 @@ relx_rem_sh() { # Generate a random id relx_gen_id() { - od -X /dev/urandom | head -n1 | awk '{print $2}' + od -X -N 4 /dev/urandom | head -n1 | awk '{print $2}' } # Control a node |