forked from bashclub/zamba-lxc-toolbox
Integrated shellcheck changes by @fbartels
This commit is contained in:
8
src/functions.sh
Normal file
8
src/functions.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# This script has basic functions like a random password generator
|
||||
|
||||
random_password() {
|
||||
set +o pipefail
|
||||
C_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c32
|
||||
}
|
Reference in New Issue
Block a user