install_complete.sh 754 B

123456789101112131415161718192021222324
  1. #!/bin/bash
  2. # LGSM install_complete.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://gameservermanagers.com
  5. # Description: Prints installation completion message and hints.
  6. local commandname="INSTALL"
  7. local commandaction="Install"
  8. local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
  9. if [ "${gamename}" == "Don't Starve Together" ]; then
  10. echo ""
  11. echo "An Authentication Token is required to run this server!"
  12. echo "Follow the instructions in this link to obtain this key"
  13. echo " https://gameservermanagers.com/dst-auth-token"
  14. fi
  15. echo "================================="
  16. echo "Install Complete!"
  17. fn_script_log_info "Install Complete!"
  18. echo ""
  19. echo "To start server type:"
  20. echo "./${selfname} start"
  21. echo ""
  22. core_exit.sh