4
0

fn_check_logs 427 B

1234567891011121314151617
  1. #!/bin/bash
  2. # LGSM fn_check_logs function
  3. # Author: Daniel Gibbs
  4. # Website: http://gameservermanagers.com
  5. lgsm_version="061115"
  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_printdots "Checking for log files"
  10. sleep 1
  11. fn_printinfo "Checking for log files: Creating log files"
  12. echo -en "\n"
  13. checklogs=1
  14. fn_install_logs
  15. fi