mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-08 12:07:37 +08:00
Steamlining bootstrap process
This commit is contained in:
parent
aac5af596d
commit
0442559cc9
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user