command_dev_debug.sh 416 B

1234567891011121314151617
  1. #!/bin/bash
  2. # LGSM dev_debug.sh function
  3. # Author: Daniel Gibbs
  4. # Website: http://gameservermanagers.com
  5. lgsm_version="281215"
  6. # Description: Dev only: enables debuging log to be saved to dev-debug.log.
  7. function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
  8. if [ -f ".dev-debug" ]; then
  9. rm .dev-debug
  10. fn_print_ok_nl "Disabled dev-debug"
  11. else
  12. date > .dev-debug
  13. fn_print_ok_nl "Enabled dev-debug"
  14. fi