fix_ro.sh 816 B

123456789101112131415161718192021222324252627
  1. #!/bin/bash
  2. # LGSM fix_ro.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://gameservermanagers.com
  5. lgsm_version="210516"
  6. # Description: Resolves various issues with red orchestra.
  7. echo "Applying WebAdmin ROOst.css fix."
  8. echo "http://forums.tripwireinteractive.com/showpost.php?p=585435&postcount=13"
  9. sed -i 's/none}/none;/g' "${filesdir}/Web/ServerAdmin/ROOst.css"
  10. sed -i 's/underline}/underline;/g' "${filesdir}/Web/ServerAdmin/ROOst.css"
  11. sleep 1
  12. echo "Applying WebAdmin CharSet fix."
  13. echo "http://forums.tripwireinteractive.com/showpost.php?p=442340&postcount=1"
  14. sed -i 's/CharSet="iso-8859-1"/CharSet="utf-8"/g' "${systemdir}/uweb.int"
  15. sleep 1
  16. echo "applying server name fix."
  17. sleep 1
  18. echo "forcing server restart..."
  19. sleep 1
  20. command_start.sh
  21. sleep 5
  22. command_stop.sh
  23. command_start.sh
  24. sleep 5
  25. command_stop.sh