Steamlining bootstrap process

This commit is contained in:
Daniel Gibbs 2017-04-16 13:52:36 +01:00
parent aac5af596d
commit 0442559cc9
2 changed files with 10 additions and 13 deletions

View File

@ -14,7 +14,7 @@ fi
core_dl.sh(){
functionfile="${FUNCNAME}"
fn_fetch_function
fn_bootstrap_fetch_file
}
core_exit.sh(){
@ -34,7 +34,7 @@ fn_fetch_function
core_messages.sh(){
functionfile="${FUNCNAME}"
fn_fetch_function
fn_bootstrap_fetch_file
}
@ -541,11 +541,13 @@ functionfile="${FUNCNAME}"
fn_fetch_function
}
# Calls on-screen messages (bootstrap)
core_messages.sh
#Calls file downloader (bootstrap)
core_dl.sh
# Calls the global Ctrl-C trap
core_trap.sh
# Calls on-screen messages
core_messages.sh
#Calls file downloader
core_dl.sh

View File

@ -39,12 +39,7 @@ githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="feature/config"
# Core Functions that are required first
core_dl.sh(){
functionfile="${FUNCNAME}"
fn_bootstrap_fetch_file
}
# Core Function that is required first
core_functions.sh(){
functionfile="${FUNCNAME}"
fn_bootstrap_fetch_file
@ -297,9 +292,9 @@ if [ "${shortname}" == "core" ]; then
else
fn_install_getopt
fi
# LinuxGSM Server Mode
else
core_dl.sh
core_functions.sh
# Load LinuxGSM configs