| 123456789101112131415161718192021222324252627282930313233 |
- #!/bin/bash
- # LGSM fn_sdtd_allocfixes function
- # Author: Daniel Gibbs
- # Website: http://danielgibbs.co.uk
- # Version: 204014
- # Description: Stops the server.
- if [ "${allocsfixes}" = true ]; then
- sleep 5
- fn_scriptlog "Installing Alloc's Server Fixes"
- echo -en "\n"
- sleep 5
- echo -en "Installing Alloc's Server Fixes\n"
- cd "${rootdir}"/serverfiles/
- rm -rf server_fixes.tar.gz
- wget http://illy.bz/fi/7dtd/server_fixes.tar.gz
- if [ -f "server_fixes.tar.gz" ]; then
- tar -xzf server_fixes.tar.gz
- rm -rf server_fixes.tar.gz
- fn_scriptlog "Server Fixes Installed"
- echo -en "Alloc's Server Fixes have been installed.\n"
- else
- if [ ! -f "server_fixes.tar.gz" ]; then
- fn_scriptlog "Error downloading Server Fixes!"
- fi
- echo -en "There was a problem installing Alloc's Server Fixes!"
- fi
- fn_scriptlog "Alloc's Server Fixes installed."
- echo -en "FAlloc's Server Fixes installed.\n"
- fi
- }
|