|
@ -30,8 +30,8 @@ fn_set_config_vars(){ |
|
|
fn_script_log_info "changing hostname." |
|
|
fn_script_log_info "changing hostname." |
|
|
sleep 1 |
|
|
sleep 1 |
|
|
sed -i "s/SERVERNAME/${servername}/g" "${servercfgfullpath}" |
|
|
sed -i "s/SERVERNAME/${servername}/g" "${servercfgfullpath}" |
|
|
echo "changing rconpassword." |
|
|
echo "changing rcon/admin password." |
|
|
fn_script_log_info "changing RCON/ADMIN password." |
|
|
fn_script_log_info "changing rcon/admin password." |
|
|
sed -i "s/ADMINPASSWORD/${rconpass}/g" "${servercfgfullpath}" |
|
|
sed -i "s/ADMINPASSWORD/${rconpass}/g" "${servercfgfullpath}" |
|
|
sleep 1 |
|
|
sleep 1 |
|
|
} |
|
|
} |
|
|