fix_kf2.sh 513 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. # LinuxGSM fix_kf2.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://linuxgsm.com
  5. # Description: Resolves various issues with Killing Floor 2.
  6. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  7. fn_parms(){
  8. parms="\"${defaultmap}?Game=KFGameContent.KFGameInfo_VersusSurvival\""
  9. }
  10. fn_print_information "starting ${gamename} server to generate configs."
  11. fn_sleep_time
  12. exitbypass=1
  13. command_start.sh
  14. fn_firstcommand_reset
  15. sleep 10
  16. exitbypass=1
  17. command_stop.sh
  18. fn_firstcommand_reset