command_details.sh 926 B

123456789101112131415161718192021222324252627282930313233
  1. #!/bin/bash
  2. # LinuxGSM command_details.sh function
  3. # Author: Daniel Gibbs
  4. # Contributor: UltimateByte
  5. # Website: https://linuxgsm.com
  6. # Description: Displays server information.
  7. local commandname="DETAILS"
  8. local commandaction="Details"
  9. local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  10. # Run checks and gathers details to display.
  11. check.sh
  12. info_config.sh
  13. info_parms.sh
  14. info_distro.sh
  15. info_messages.sh
  16. query_gamedig.sh
  17. fn_info_message_distro
  18. fn_info_message_performance
  19. fn_info_message_disk
  20. fn_info_message_gameserver
  21. fn_info_message_script
  22. fn_info_message_backup
  23. # Some game servers do not have parms.
  24. if [ "${shortname}" != "ts3" ]&&[ "${shortname}" != "jc2" ]&&[ "${shortname}" != "dst" ]&&[ "${shortname}" != "pz" ]&&[ "${engine}" != "renderware" ]; then
  25. fn_parms
  26. fn_info_message_commandlineparms
  27. fi
  28. fn_info_message_ports
  29. fn_info_message_select_engine
  30. fn_info_message_statusbottom
  31. core_exit.sh