Browse Source

Merge branch 'hotfix/v19.12.5'

pull/2745/head v19.12.5
Daniel Gibbs 5 years ago
parent
commit
c1a64109d2
No known key found for this signature in database GPG Key ID: E50EE233189485E3
  1. 2
      lgsm/functions/command_monitor.sh
  2. 2
      lgsm/functions/install_stats.sh

2
lgsm/functions/command_monitor.sh

@ -136,7 +136,7 @@ for queryattempt in {1..5}; do
fn_sleep_time fn_sleep_time
monitorpass=1 monitorpass=1
# send LinuxGSM stats if monitor is OK. # send LinuxGSM stats if monitor is OK.
if [ "${stats}" == "on" ]; then if [ "${stats}" == "on" ]||[ "${stats}" == "y" ]; then
info_stats.sh info_stats.sh
fi fi
if [ "${querystatus}" == "0" ]; then if [ "${querystatus}" == "0" ]; then

2
lgsm/functions/install_stats.sh

@ -21,7 +21,7 @@ echo -e "* game server resource usage"
echo -e "* server hardware info" echo -e "* server hardware info"
if [ -z "${autoinstall}" ]; then if [ -z "${autoinstall}" ]; then
if fn_prompt_yn "Allow anonymous usage statistics?" Y; then if fn_prompt_yn "Allow anonymous usage statistics?" Y; then
echo "stats=\"y\"" >> "${configdirserver}/common.cfg" echo "stats=\"on\"" >> "${configdirserver}/common.cfg"
fn_print_information_nl "Stats setting is now enabled in common.cfg." fn_print_information_nl "Stats setting is now enabled in common.cfg."
fi fi
else else

Loading…
Cancel
Save