check_config.sh 436 B

1234567891011121314151617
  1. #!/bin/bash
  2. # LGSM check_config.sh function
  3. # Author: Daniel Gibbs
  4. # Website: http://gameservermanagers.com
  5. lgsm_version="060116"
  6. # Description: If server config missing warn user.
  7. if [ ! -e "${servercfgfullpath}" ]; then
  8. if [ "${gamename}" != "Hurtworld" ]; then
  9. fn_printwarnnl "Config file missing!"
  10. echo "${servercfgfullpath}"
  11. fn_scriptlog "Configuration file missing!"
  12. fn_scriptlog "${servercfgfullpath}"
  13. sleep 2
  14. fi
  15. fi