mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-25 02:29:32 +02:00
Merge pull request #25 from Klazomenai/master
Don't ask for mailcow hostname and time zone if already exported with…
This commit is contained in:
commit
c9d44a6d98
@ -12,8 +12,13 @@ if [[ -f mailcow.conf ]]; then
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
read -p "Hostname (FQDN): " -ei "mx.example.org" MAILCOW_HOSTNAME
|
if [ -z "$MAILCOW_HOSTNAME" ]; then
|
||||||
read -p "Timezone: " -ei "Europe/Berlin" TZ
|
read -p "Hostname (FQDN): " -ei "mx.example.org" MAILCOW_HOSTNAME
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$TZ" ]; then
|
||||||
|
read -p "Timezone: " -ei "Europe/Berlin" TZ
|
||||||
|
fi
|
||||||
|
|
||||||
cat << EOF > mailcow.conf
|
cat << EOF > mailcow.conf
|
||||||
# ------------------------------
|
# ------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user