fix_kf2.sh 555 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. # LinuxGSM fix_kf2.sh module
  3. # Author: Daniel Gibbs
  4. # Contributors: http://linuxgsm.com/contrib
  5. # Website: https://linuxgsm.com
  6. # Description: Resolves various issues with Killing Floor 2.
  7. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  8. fn_parms(){
  9. parms="\"${defaultmap}?Game=KFGameContent.KFGameInfo_VersusSurvival\""
  10. }
  11. fn_print_information "starting ${gamename} server to generate configs."
  12. fn_sleep_time
  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