4
0

fix_cmw.sh 523 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. # LinuxGSM fix_cmw.sh function
  3. # Author: Christian Birk
  4. # Website: https://linuxgsm.com
  5. # Description: Resolves the issue of the not starting server on linux
  6. if [ ! -f "${executabledir}/steam_appid.txt" ]; then
  7. fixname="steam_appid.txt"
  8. fn_fix_msg_start
  9. echo 219640 > "${executabledir}/steam_appid.txt"
  10. fn_fix_msg_end
  11. fi
  12. if [ ! -f "${servercfgfullpath}" ]; then
  13. fn_fix_msg_start
  14. fixname="copy config"
  15. mkdir "${servercfgdir}"
  16. cp "${systemdir}/UDKGame/Config/"*.ini "${servercfgdir}"
  17. fn_fix_msg_end
  18. fi