Browse Source

Create random.sh

FusionPBX 8 years ago
parent
commit
194ad45308
1 changed files with 4 additions and 0 deletions
  1. 4 0
      debian/resources/random.sh

+ 4 - 0
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