fix_wurm.sh 566 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. # LinuxGSM fix_wurm.sh module
  3. # Author: Daniel Gibbs
  4. # Contributors: http://linuxgsm.com/contrib
  5. # Website: https://linuxgsm.com
  6. # Description: Resolves various issues with Wurm Unlimited.
  7. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  8. # First run requires start with no parms.
  9. # After first run new dirs are created.
  10. if [ ! -d "${serverfiles}/Creative" ]; then
  11. parmsbypass=1
  12. fixbypass=1
  13. exitbypass=1
  14. command_start.sh
  15. fn_firstcommand_reset
  16. sleep 10
  17. exitbypass=1
  18. command_stop.sh
  19. fn_firstcommand_reset
  20. unset parmsbypass
  21. fi