Browse Source

Fix shellcheck

pull/4706/head
Scruel Tao 1 year ago
committed by GitHub
parent
commit
9e958f4e32
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      deploy/synology_dsm.sh

2
deploy/synology_dsm.sh

@ -61,7 +61,7 @@ synology_dsm_deploy() {
fi fi
_debug "Setting temp admin user credential..." _debug "Setting temp admin user credential..."
SYNO_Username=sc-acmesh-tmp 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. # Ignore 2FA-OTP settings which won't be needed.
SYNO_Device_Name= SYNO_Device_Name=
SYNO_Device_ID= SYNO_Device_ID=

Loading…
Cancel
Save