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

5 lines
109 B
Bash
Raw Normal View History

2019-06-03 14:48:27 +02:00
#!/bin/sh
random=$(dd if=/dev/urandom bs=1 count=20 2>/dev/null | base64 | sed 's/[=\+//]//g')
echo $random