fusionpbx-install.sh/debian/resources/random.sh

5 lines
109 B
Bash
Raw Permalink Normal View History

2017-05-16 01:56:08 +02:00
#!/bin/sh
2017-05-16 01:57:28 +02:00
random=$(dd if=/dev/urandom bs=1 count=20 2>/dev/null | base64 | sed 's/[=\+//]//g')
2017-05-16 01:56:08 +02:00
echo $random