remove old code
This commit is contained in:
parent
b6d35ef9e3
commit
69245353c0
1 changed files with 24 additions and 31 deletions
|
|
@ -4,13 +4,7 @@ rconpass=my_rcon_password
|
||||||
modio_api_key=my_modio_apikey_!NOT_OAuth2_KEY!
|
modio_api_key=my_modio_apikey_!NOT_OAuth2_KEY!
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
# TOTAL=0
|
|
||||||
sleep $(((RANDOM % 360) + 60))
|
sleep $(((RANDOM % 360) + 60))
|
||||||
# for rconip in $(echo "${rconlist//,/ }"); do
|
|
||||||
# PLAYERSCOUNT=$(rcon -a "$rconip" -p "$rconpass" listplayers | tail -n +3 | wc -l)
|
|
||||||
# TOTAL=$(("$PLAYERSCOUNT" + "$TOTAL"))
|
|
||||||
# done
|
|
||||||
# if [ $TOTAL -eq 0 ]; then
|
|
||||||
#CHECKING NEW GAME VERSION
|
#CHECKING NEW GAME VERSION
|
||||||
LOCALAPPVER=$(cat /opt/sandstorm-server.version)
|
LOCALAPPVER=$(cat /opt/sandstorm-server.version)
|
||||||
REMOTEAPPVER=$(curl -s -X GET 'https://api.steamcmd.net/v1/info/581330' | jq -r -e '.data."581330".depots."581333".manifests.public')
|
REMOTEAPPVER=$(curl -s -X GET 'https://api.steamcmd.net/v1/info/581330' | jq -r -e '.data."581330".depots."581333".manifests.public')
|
||||||
|
|
@ -40,5 +34,4 @@ while true; do
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# fi
|
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue