fix_ro.sh 755 B

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