Skip to content
Permalink
Browse files

fix(stats): correct setting on install to state on instead of y

  • Loading branch information
dgibbs64 committed Dec 4, 2019
1 parent d36b7cc commit 06670a8c1588631d6c7dfecd282fce2d9065b669
Showing with 2 additions and 2 deletions.
  1. +1 −1 lgsm/functions/command_monitor.sh
  2. +1 −1 lgsm/functions/install_stats.sh
@@ -136,7 +136,7 @@ for queryattempt in {1..5}; do
fn_sleep_time
monitorpass=1
# send LinuxGSM stats if monitor is OK.
if [ "${stats}" == "on" ]; then
if [ "${stats}" == "on" ]||[ "${stats}" == "y" ]; then
info_stats.sh
fi
if [ "${querystatus}" == "0" ]; then
@@ -21,7 +21,7 @@ echo -e "* game server resource usage"
echo -e "* server hardware info"
if [ -z "${autoinstall}" ]; 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."
fi
else

0 comments on commit 06670a8

Please sign in to comment.
You can’t perform that action at this time.