1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-11 01:27:17 +00:00

Update questions.sh

This commit is contained in:
kaibae19 2022-04-03 11:59:29 -07:00
parent 7167d95564
commit 9e5b810b02

View File

@ -83,13 +83,14 @@ address, so we're suggesting $DEFAULT_PRIMARY_HOSTNAME.
fi
fi
# Are we running an external CalDAV and CardDAV server? This will default the variable NC_HOSTNAME to
# PRIMARY_HOSTNAME unless it is changed. If change, Nextcloud installation is omitted from this setup script
input_box "External Cal/CardDAV server" \
if [ -z "${DAV_HOSTNAME:-}" ]; then
DAV_HOSTNAME=$PRIMARY_HOSTNAME
input_box "External CalDAV/CardDAV Server" \
"Are you using an external server for CalDAV and CardDAV (Nextcloud), if so, enter the FQDN of the server. \
IMPORTANT: Changing this from the default will omit the installation of Nextcloud on this system."
$PRIMARY_HOSTNAME \
\n\nIMPORTANT: Changing this from the default will omit the installation of Nextcloud on this system."
$DAV_HOSTNAME \
DAV_HOSTNAME
# If the machine is behind a NAT, inside a VM, etc., it may not know