4
0

fix_bo.sh 615 B

123456789101112131415161718
  1. #!/bin/bash
  2. # LinuxGSM fix_hw.sh module
  3. # Author: Daniel Gibbs
  4. # Contributors: https://linuxgsm.com/contrib
  5. # Website: https://linuxgsm.com
  6. # Description: Resolves issues with Ballistic Overkill.
  7. moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  8. export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}:${serverfiles}/BODS_Data/Plugins/x86_64"
  9. if [ -f "${servercfgfullpath}" ] && ! cmp -s "${servercfgfullpath}" "${serverfiles}/config.txt"; then
  10. fixname="copy ${servercfg} to config.txt"
  11. fn_fix_msg_start
  12. cp -f "${servercfgfullpath}" "${serverfiles}/config.txt"
  13. exitcode=$?
  14. fn_fix_msg_end
  15. fi