* Now using unbuffer to stop the appearance of freezing when installing
and updating. Unbuffer is not always available so will only use it if
the command exists on the distro
--no-check-certificate presents a possible security risk.
--no-check-certificate is only used because older distros do not
recognise githubusercontent.com and will fail to download files. I have
decided to remove remove this option for now. It may be the case later
that I all this with older distros if there is a need for it.
Made a custom change for 7 Days To Die. If user wants or has Alloc's server fixes installed, they need to set the variable in the sdtdserver script to true and then the added coded in fn_validate will now download and install Alloc's fixes automatically.
Could possibly be put in a separate file and called by a function, but validate isn't run constantly so the extra few lines of code shouldn't matter.
Modified stop function to allow for graceful shutdown of a 7 Days To Die server. The file will still work for other game servers as it checks for the game name to be "7 Days To Die" as set in the sdtdserver script file and it also uses the new telnet variables I added to the sdtdserver script.
If not being run for 7 Days To Die, it reverts to the previous stop method of killing the server process.
Goldsource servers will now bypass checks as fn_steamcmdcheck does not
work for appid 90 servers. I might be able to get this to work however
it is rather complicated. This may be something I do in the future
Update restart requirement detection - This will merge "update" and
"update-restart". If the server is online and an update is required the
server will restart during update. If there is an update but the server
is offline there is no requirement to restart.
This update fixes issues raised since recent update to insserver
*fixed issue causing the following error ./srcds_linux: error while
loading shared libraries: libtier0.so: cannot open shared object file:
No such file or directory
* glibc fix working again with insserver
A quick fix for the issue of server not updating correctly.
I have set the logupdaterequest to run before steamcmdcheck. This should
force the update to go though. I will be making some bug changes to the
updater in the future.