Browse Source

Indent to highlight the new function

pull/1065/head
CedarLUG 9 years ago
parent
commit
b105682b10
  1. 124
      lgsm/functions/command_details.sh

124
lgsm/functions/command_details.sh

@ -582,68 +582,68 @@ fn_details_ark(){
# Run checks and gathers details to display. # Run checks and gathers details to display.
fn_display_details() { fn_display_details() {
check.sh check.sh
info_config.sh info_config.sh
info_distro.sh info_distro.sh
info_glibc.sh info_glibc.sh
info_parms.sh info_parms.sh
fn_details_os fn_details_os
fn_details_performance fn_details_performance
fn_details_disk fn_details_disk
fn_details_gameserver fn_details_gameserver
fn_details_script fn_details_script
fn_details_backup fn_details_backup
# Some game servers do not have parms. # Some game servers do not have parms.
if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${engine}" != "avalanche" ]&&[ "${engine}" != "dontstarve" ]&&[ "${engine}" != "projectzomboid" ]; then if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${engine}" != "avalanche" ]&&[ "${engine}" != "dontstarve" ]&&[ "${engine}" != "projectzomboid" ]; then
fn_parms fn_parms
fn_details_commandlineparms fn_details_commandlineparms
fi fi
fn_details_ports fn_details_ports
# Display details depending on game or engine. # Display details depending on game or engine.
if [ "${engine}" == "avalanche" ]; then if [ "${engine}" == "avalanche" ]; then
fn_details_avalanche fn_details_avalanche
elif [ "${engine}" == "dontstarve" ]; then elif [ "${engine}" == "dontstarve" ]; then
fn_details_dontstarve fn_details_dontstarve
elif [ "${engine}" == "lwjgl2" ]; then elif [ "${engine}" == "lwjgl2" ]; then
fn_details_minecraft fn_details_minecraft
elif [ "${engine}" == "projectzomboid" ]; then elif [ "${engine}" == "projectzomboid" ]; then
fn_details_projectzomboid fn_details_projectzomboid
elif [ "${engine}" == "idtech3" ]; then elif [ "${engine}" == "idtech3" ]; then
fn_details_idtech3 fn_details_idtech3
elif [ "${engine}" == "realvirtuality" ]; then elif [ "${engine}" == "realvirtuality" ]; then
fn_details_realvirtuality fn_details_realvirtuality
elif [ "${engine}" == "seriousengine35" ]; then elif [ "${engine}" == "seriousengine35" ]; then
fn_details_seriousengine35 fn_details_seriousengine35
elif [ "${engine}" == "source" ]||[ "${engine}" == "goldsource" ]; then elif [ "${engine}" == "source" ]||[ "${engine}" == "goldsource" ]; then
fn_details_source fn_details_source
elif [ "${engine}" == "spark" ]; then elif [ "${engine}" == "spark" ]; then
fn_details_spark fn_details_spark
elif [ "${engine}" == "starbound" ]; then elif [ "${engine}" == "starbound" ]; then
fn_details_starbound fn_details_starbound
elif [ "${engine}" == "teeworlds" ]; then elif [ "${engine}" == "teeworlds" ]; then
fn_details_teeworlds fn_details_teeworlds
elif [ "${engine}" == "terraria" ]; then elif [ "${engine}" == "terraria" ]; then
fn_details_terraria fn_details_terraria
elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
fn_details_unreal fn_details_unreal
elif [ "${gamename}" == "ARK: Survivial Evolved" ]; then elif [ "${gamename}" == "ARK: Survivial Evolved" ]; then
fn_details_ark fn_details_ark
elif [ "${gamename}" == "Hurtworld" ]; then elif [ "${gamename}" == "Hurtworld" ]; then
fn_details_hurtworld fn_details_hurtworld
elif [ "${gamename}" == "7 Days To Die" ]; then elif [ "${gamename}" == "7 Days To Die" ]; then
fn_details_sdtd fn_details_sdtd
elif [ "${gamename}" == "TeamSpeak 3" ]; then elif [ "${gamename}" == "TeamSpeak 3" ]; then
fn_details_teamspeak3 fn_details_teamspeak3
elif [ "${gamename}" == "Mumble" ]; then elif [ "${gamename}" == "Mumble" ]; then
fn_details_mumble fn_details_mumble
elif [ "${gamename}" == "Rust" ]; then elif [ "${gamename}" == "Rust" ]; then
fn_details_rust fn_details_rust
else else
fn_print_error_nl "Unable to detect server engine." fn_print_error_nl "Unable to detect server engine."
fi fi
fn_details_statusbottom fn_details_statusbottom
} }
if [ -z ${POSTDETAILS} ] ; if [ -z ${POSTDETAILS} ] ;

Loading…
Cancel
Save