Create random.sh

This commit is contained in:
FusionPBX 2017-05-15 17:56:08 -06:00 committed by GitHub
parent df1a274a6d
commit 194ad45308
1 changed files with 4 additions and 0 deletions

4
debian/resources/random.sh vendored Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
random=$(dd if=/dev/urandom bs=1 count=12 2>/dev/null | base64 | sed 's/[=\+//]//g')
echo $random