Browse Source

removed quotes

pull/1128/head
Daniel Gibbs 9 years ago
parent
commit
ff5d149e29
  1. 4
      lgsm/functions/install_config.sh

4
lgsm/functions/install_config.sh

@ -29,10 +29,10 @@ fn_set_config_vars(){
echo "changing hostname." echo "changing hostname."
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 rconpassword."
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
} }

Loading…
Cancel
Save