Remove cat-abuse
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
cff04248e7
commit
70baeb5971
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
function gen_prefix() {
|
function gen_prefix() {
|
||||||
cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8 || true
|
tr -dc 'a-z0-9' </dev/urandom | head -c 8 || true
|
||||||
}
|
}
|
||||||
|
|
||||||
# Generate an unique ID and set config path for it
|
# Generate an unique ID and set config path for it
|
||||||
|
|
Loading…
Reference in a new issue