From 354f6e0251e13709de4ac7ce8b670c6cd0e11b80 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 23 Apr 2015 14:51:35 +0100 Subject: [PATCH 1/2] Added fn_update_sdtd_allocfixes --- functions/fn_update_sdtd_allocfixes | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 functions/fn_update_sdtd_allocfixes diff --git a/functions/fn_update_sdtd_allocfixes b/functions/fn_update_sdtd_allocfixes new file mode 100644 index 000000000..fdcd6e44b --- /dev/null +++ b/functions/fn_update_sdtd_allocfixes @@ -0,0 +1,33 @@ +#!/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 +} \ No newline at end of file From 0cbc6d9f35b67e208dbf398b0f4b124dd015599f Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 23 Apr 2015 14:53:40 +0100 Subject: [PATCH 2/2] Added travis-ci image --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9b3f58c56..0339a32b1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@

Linux Game Server Managers_

linux Game Server Managers +[![Build Status](https://travis-ci.org/dgibbs64/linuxgsm.svg?branch=master)](https://travis-ci.org/dgibbs64/linuxgsm) + The Linux Game Server Managers are command line tools for quick, simple deployment and management of various dedicated game servers and voice comms servers.

Hassle Free Dedicated Servers