Commit 09f012b9 authored by UltimateByte's avatar UltimateByte Committed by GitHub
Browse files

Displayname is ${companyname}

parent f8bf0569
......@@ -186,14 +186,14 @@ else
fi
# Test Outlook autodiscover
if [ -n "$(curl "${autodiscoverurl}" | grep "<DisplayName>HaiSoft</DisplayName>")" ]; then
if [ -n "$(curl "${autodiscoverurl}" | grep "<DisplayName>${companyname}</DisplayName>")" ]; then
fn_logecho "[OK] Outlook ${autodiscoverurl} is accessible"
else
fn_logecho "[ERROR!] Outlook ${autodiscoverurl} does not seem to be accessible"
fi
# Test Outlook Autodiscover
if [ -n "$(curl "${autodiscoverurlalt}" | grep "<DisplayName>HaiSoft</DisplayName>")" ]; then
if [ -n "$(curl "${autodiscoverurlalt}" | grep "<DisplayName>${companyname}</DisplayName>")" ]; then
fn_logecho "[OK] Outlook ${autodiscoverurlalt} is accessible"
else
fn_logecho "[ERROR!] Outlook ${autodiscoverurlalt} does not seem to be accessible"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment