install_complete.sh 689 B

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