diff --git a/functions/command_update_functions.sh b/functions/command_update_functions.sh index a23cf58a1..5e9671594 100644 --- a/functions/command_update_functions.sh +++ b/functions/command_update_functions.sh @@ -1,5 +1,5 @@ #!/bin/bash -# LGSM update_functions.sh function +# LGSM command_update_functions.sh function # Author: Daniel Gibbs # Website: http://gameservermanagers.com lgsm_version="270216" @@ -13,8 +13,6 @@ fn_scriptlog "Updating functions" sleep 1 echo -ne "\n" - - # Removed legecy functions dir if [ -n "${rootdir}" ]; then if [ -d "${rootdir}/functions/" ]; then diff --git a/functions/core_functions.sh b/functions/core_functions.sh index 81500398a..d2e389f56 100644 --- a/functions/core_functions.sh +++ b/functions/core_functions.sh @@ -4,7 +4,7 @@ # Website: http://gameservermanagers.com lgsm_version="180316" -# Description: Redirect to new location for core_functions.sh +# Description: REDIRECT FUNCTION to new location for core_functions.sh # fn_fetch_core_dl also placed here to allow legecy servers to still download core functions if [ -z "${lgsmdir}" ]; then diff --git a/functions/core_getopt.sh b/functions/core_getopt.sh index 80bf47a14..b3e0b4c33 100644 --- a/functions/core_getopt.sh +++ b/functions/core_getopt.sh @@ -1,10 +1,10 @@ #!/bin/bash -# LGSM core_getopt function +# LGSM core_getopt.sh function # Author: Daniel Gibbs # Website: http://gameservermanagers.com lgsm_version="180316" -# Description: Redirect to new location for core_getopt.sh +# Description: REDIRECT FUNCTION to new location for core_getopt.sh core_getopt.sh(){ functionfile="${FUNCNAME}" diff --git a/functions/fn_functions b/functions/fn_functions index abea6d258..0acb04b17 100644 --- a/functions/fn_functions +++ b/functions/fn_functions @@ -1,10 +1,10 @@ #!/bin/bash -# LGSM fn_functions.sh function +# LGSM fn_functions function # Author: Daniel Gibbs # Website: http://gameservermanagers.com lgsm_version="180316" -# Description: Redirect to new core_functions.sh +# Description: REDIRECT FUNCTION to new core_functions.sh core_functions.sh(){ # Functions are defined in core_functions.sh. diff --git a/functions/fn_getopt b/functions/fn_getopt index 73d3b530d..3323d7f75 100644 --- a/functions/fn_getopt +++ b/functions/fn_getopt @@ -1,10 +1,10 @@ #!/bin/bash -# LGSM fn_getopt function +# LGSM fn_getopt.sh function # Author: Daniel Gibbs # Website: http://gameservermanagers.com lgsm_version="180316" -# Description: Redirect to new core_getopt.sh +# Description: REDIRECT FUNCTION to new core_getopt.sh core_getopt.sh(){ functionfile="${FUNCNAME}" diff --git a/functions/fn_update_functions b/functions/fn_update_functions index dab701c9b..ee19979c5 100644 --- a/functions/fn_update_functions +++ b/functions/fn_update_functions @@ -1,38 +1,15 @@ #!/bin/bash -# LGSM core_functions.sh function +# LGSM fn_update_functions function # Author: Daniel Gibbs # Website: http://gameservermanagers.com lgsm_version="271215" -# Description: Redirect to new core_functions.sh - -core_functions.sh(){ -# Functions are defined in core_functions.sh. -functionfile="${FUNCNAME}" -fn_runfunction -} - -core_dl.sh(){ -# Functions are defined in core_functions.sh. -functionfile="${FUNCNAME}" -fn_runfunction -} - -core_getopt.sh(){ -functionfile="${FUNCNAME}" -fn_runfunction -} - -core_messages.sh(){ -functionfile="${FUNCNAME}" -fn_runfunction -} +# Description: REDIRECT FUNCTION to new command_update_functions.sh command_update_functions.sh(){ functionfile="${FUNCNAME}" fn_runfunction } -core_functions.sh command_update_functions.sh diff --git a/lgsm/functions/command_update_functions.sh b/lgsm/functions/command_update_functions.sh index a23cf58a1..5e9671594 100644 --- a/lgsm/functions/command_update_functions.sh +++ b/lgsm/functions/command_update_functions.sh @@ -1,5 +1,5 @@ #!/bin/bash -# LGSM update_functions.sh function +# LGSM command_update_functions.sh function # Author: Daniel Gibbs # Website: http://gameservermanagers.com lgsm_version="270216" @@ -13,8 +13,6 @@ fn_scriptlog "Updating functions" sleep 1 echo -ne "\n" - - # Removed legecy functions dir if [ -n "${rootdir}" ]; then if [ -d "${rootdir}/functions/" ]; then