diff --git a/prox-optimizer.sh b/prox-optimizer.sh index 631cec9..b7e80ff 100644 --- a/prox-optimizer.sh +++ b/prox-optimizer.sh @@ -274,7 +274,7 @@ else fi # Set the local -if [ "$PMX_LANG" == "" ] ; then +if [ "$PMX_LANG" == "yes" ] ; then PMX_LANG="en_US.UTF-8" fi echo -r "Set the locales" @@ -562,7 +562,7 @@ if [ "${PMX_DISABLERPC,,}" == "yes" ] ; then systemctl stop rpcbind fi -if [ "${PMX_TIMEZONE}" == "" ] ; then +if [ "${PMX_TIMEZONE}" == "yes" ] ; then ## Set Timezone, empty = set automatically by IP echo -e "Set Timezone, empty = set automatically by IP" this_ip="$(dig +short myip.opendns.com @resolver1.opendns.com)"