mirror of
https://github.com/itiligent/Easy-Guacamole-Installer.git
synced 2025-12-13 18:02:32 +00:00
change cert days prompt behaviour
This commit is contained in:
parent
802987c52d
commit
86a29b9853
1 changed files with 2 additions and 2 deletions
|
|
@ -610,9 +610,9 @@ if [[ -z ${SELF_SIGN} ]] && [[ "${INSTALL_NGINX}" = true ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Prompt to enter a self sign TLS certificate expiry
|
# Prompt to enter a self sign TLS certificate expiry
|
||||||
if [[ "${SELF_SIGN}" = true ]]; then
|
if [[ -z "${CERT_DAYS}" ]] && [[ "${SELF_SIGN}" = true ]]; then
|
||||||
while true; do
|
while true; do
|
||||||
read -p "FRONT END: Enter number of days till TLS certificates will expire [Enter for 3650]: " CERT_DAYS
|
read -p "FRONT END: Enter number of days till TLS certificates will expire [Enter for ${CERT_DAYS}]: " CERT_DAYS
|
||||||
[[ "${CERT_DAYS}" = "" ]] || [[ "${CERT_DAYS}" != "" ]] && break
|
[[ "${CERT_DAYS}" = "" ]] || [[ "${CERT_DAYS}" != "" ]] && break
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue