From ddaf22d328fb0a40c992419a506c26c18c55f44c Mon Sep 17 00:00:00 2001 From: Hakan Nilsson Date: Tue, 22 Mar 2016 17:22:14 +0100 Subject: 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. --- priv/templates/extended_bin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'priv/templates/extended_bin') 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 -- cgit v1.2.3