LinuxGSM/functions/fn_install_rofix
2015-12-11 21:15:25 +00:00

27 lines
812 B
Bash

#!/bin/bash
# LGSM fn_install_rofix function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="061115"
echo "Applying ${gamename} Server Fixes"
echo "================================="
echo "Applying WebAdmin ROOst.css fix!"
echo "http://forums.tripwireinteractive.com/showpost.php?p=585435&postcount=13"
sed -i 's/none}/none;/g' "${filesdir}/Web/ServerAdmin/ROOst.css"
sed -i 's/underline}/underline;/g' "${filesdir}/Web/ServerAdmin/ROOst.css"
sleep 1
echo "Applying WebAdmin CharSet fix!"
echo "http://forums.tripwireinteractive.com/showpost.php?p=442340&postcount=1"
sed -i 's/CharSet="iso-8859-1"/CharSet="utf-8"/g' "${systemdir}/uweb.int"
sleep 1
echo "applying server name fix."
sleep 1
echo "forcing server restart..."
sleep 1
fn_start
sleep 5
fn_stop
fn_start
sleep 5
fn_stop