diff options
author | Hakan Nilsson <[email protected]> | 2016-03-22 17:22:14 +0100 |
---|---|---|
committer | Hakan Nilsson <[email protected]> | 2016-03-22 17:22:14 +0100 |
commit | ddaf22d328fb0a40c992419a506c26c18c55f44c (patch) | |
tree | 03d9fba17c290460a7a7ff76e26e57712badfb1d /priv/templates | |
parent | 7ec3d166c07c8cd1e5a182c92a8c73a0dd4727d8 (diff) | |
download | relx-ddaf22d328fb0a40c992419a506c26c18c55f44c.tar.gz relx-ddaf22d328fb0a40c992419a506c26c18c55f44c.tar.bz2 relx-ddaf22d328fb0a40c992419a506c26c18c55f44c.zip |
Use standard flags to od
The -X flag is not supported on BusyBox for example.
Using -t x should give the same behavior as -X.
Diffstat (limited to 'priv/templates')
-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 3c406aa..3c71c84 100755 --- a/priv/templates/extended_bin +++ b/priv/templates/extended_bin @@ -64,7 +64,7 @@ relx_rem_sh() { # Generate a random id relx_gen_id() { - od -X -N 4 /dev/urandom | head -n1 | awk '{print $2}' + od -t x -N 4 /dev/urandom | head -n1 | awk '{print $2}' } # Control a node |