From 35387c21255daa6f1e3dee9b291ce7c195d2a519 Mon Sep 17 00:00:00 2001 From: hax Date: Sun, 15 Dec 2024 07:03:17 +0000 Subject: [PATCH] fixed missing "yes" strings Signed-off-by: hax --- prox-optimizer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)"