From 194ad453087e6297f20b9288081ee28de8bdac62 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 15 May 2017 17:56:08 -0600 Subject: [PATCH] Create random.sh --- debian/resources/random.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 debian/resources/random.sh diff --git a/debian/resources/random.sh b/debian/resources/random.sh new file mode 100644 index 0000000..bdf5f5c --- /dev/null +++ b/debian/resources/random.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +random=$(dd if=/dev/urandom bs=1 count=12 2>/dev/null | base64 | sed 's/[=\+//]//g') +echo $random