Harmonize parameter processing order.

This commit is contained in:
Manuel Friedli 2020-11-24 21:21:44 +01:00
parent f5180a5e57
commit 5078363348
1 changed files with 4 additions and 4 deletions

View File

@ -202,14 +202,14 @@ function set_default_values() {
if [[ -z "${autopilot}" ]]; then if [[ -z "${autopilot}" ]]; then
autopilot=0 autopilot=0
fi fi
if [[ -z "${netmask}" ]]; then if [[ -z "${bancountries}" ]]; then
netmask=0 bancountries=("CN")
fi fi
if [[ -z "${jail}" ]]; then if [[ -z "${jail}" ]]; then
jail="apache-auth" jail="apache-auth"
fi fi
if [[ -z "${bancountries}" ]]; then if [[ -z "${netmask}" ]]; then
bancountries=("CN") netmask=0
fi fi
if [[ -z "${port}" ]]; then if [[ -z "${port}" ]]; then
port=443 port=443