check_logs.sh 417 B

12345678910111213141516
  1. #!/bin/bash
  2. # LGSM check_logs.sh function
  3. # Author: Daniel Gibbs
  4. # Website: http://gameservermanagers.com
  5. lgsm_version="271215"
  6. # Description: Checks that log files exist on server start
  7. # Create dir's for the script and console logs
  8. if [ ! -d "${scriptlogdir}" ]; then
  9. fn_print_dots "Checking for log files"
  10. sleep 1
  11. fn_print_info_nl "Checking for log files: Creating log files"
  12. checklogs=1
  13. install_logs.sh
  14. fi