diff --git a/lgsm/functions/install_config.sh b/lgsm/functions/install_config.sh index e92f65767..997bc4cc2 100644 --- a/lgsm/functions/install_config.sh +++ b/lgsm/functions/install_config.sh @@ -29,10 +29,10 @@ fn_set_config_vars(){ echo "changing hostname." fn_script_log_info "changing hostname." sleep 1 - sed -i "s/\"SERVERNAME\"/\"${servername}\"/g" "${servercfgfullpath}" + sed -i "s/SERVERNAME/${servername}/g" "${servercfgfullpath}" echo "changing rconpassword." fn_script_log_info "changing RCON/ADMIN password." - sed -i "s/\"ADMINPASSWORD\"/\"${rconpass}\"/g" "${servercfgfullpath}" + sed -i "s/ADMINPASSWORD/${rconpass}/g" "${servercfgfullpath}" sleep 1 }