Fix shellcheck

This commit is contained in:
Scruel Tao 2023-07-20 13:09:21 +08:00 committed by GitHub
parent c7f6f20c9d
commit 9e958f4e32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ synology_dsm_deploy() {
fi
_debug "Setting temp admin user credential..."
SYNO_Username=sc-acmesh-tmp
SYNO_Password=`openssl rand -base64 16`
SYNO_Password=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 16)
# Ignore 2FA-OTP settings which won't be needed.
SYNO_Device_Name=
SYNO_Device_ID=