mirror of
https://github.com/itiligent/Easy-Guacamole-Installer.git
synced 2025-12-13 18:02:32 +00:00
clarify default of UTC if blank TZ given
This commit is contained in:
parent
6b5b097ccd
commit
377374240c
2 changed files with 2 additions and 2 deletions
|
|
@ -116,7 +116,7 @@ GUAC_DB="" # If blank default is guacamole_db
|
|||
GUAC_USER="" # If blank default is guacamole_user
|
||||
MYSQL_ROOT_PWD="" # Requires an entry here or at script prompt.
|
||||
GUAC_PWD="" # Requires an entry here or at script prompt.
|
||||
DB_TZ=$(cat /etc/timezone) # MySQL timezone default=(cat /etc/timezone) or change to "UTC" if required.
|
||||
DB_TZ=$(cat /etc/timezone) # Leave blank for UTC, for local tz $(cat /etc/timezone)
|
||||
INSTALL_TOTP="" # Add TOTP MFA extension (true/false)
|
||||
INSTALL_DUO="" # Add DUO MFA extension (can't be installed simultaneously with TOTP, true/false)
|
||||
INSTALL_LDAP="" # Add Active Directory extension (true/false)
|
||||
|
|
|
|||
|
|
@ -568,7 +568,7 @@ ALTER USER 'root'@'localhost' IDENTIFIED BY '$MYSQL_ROOT_PWD';"
|
|||
else
|
||||
timezone=${DB_TZ}
|
||||
if [[ -z "${DB_TZ}" ]]; then
|
||||
echo -e "Couldn't find system timezone, using UTC$"
|
||||
echo -e "No timezone specified, using UTC"
|
||||
timezone="UTC"
|
||||
fi
|
||||
echo -e "Setting MySQL database timezone as ${timezone}${GREY}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue