changed generate_passwd() from tr to jot

This commit is contained in:
mischa 2018-09-28 12:27:10 +02:00
parent 252f824e1f
commit 90074477f2
1 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,8 @@ fetch_ipv6() {
generate_passwd() {
# Generate a random password for the install-<MAC>.conf file.
# Doesn't take variables
tr -cd '[:alnum:]' < /dev/urandom | fold -w 20 | head -n 1
#tr -cd '[:alnum:]' < /dev/urandom | fold -w 20 | head -n 1
jot -rc -s '' 20 33 127
}
check_instance() {