Browse Source

Fixed issue with ARMA 3 server config not loading

pull/475/head
Daniel Gibbs 10 years ago
parent
commit
115ff968e9
  1. 13
      functions/fn_install_config

13
functions/fn_install_config

@ -184,19 +184,18 @@ if [ ! -d "${servercfgdir}" ]; then
fi
fi
if [ "${gamename}" == "ARMA 3" ]; then
cd "${systemdir}"
else
cd "${servercfgdir}"
fi
#statements
cd "${servercfgdir}"
# statements
if [ "${gamename}" == "7 Days To Die" ]; then
fn_unity3dconfig
elif [ "${gamename}" == "ARK: Survivial Evolved" ]; then
fn_arkconfig
elif [ "${gamename}" == "ARMA 3" ]; then
echo -e "downloading lgsm-default.server.cfg & lgsm-default.network.cfg...\c"
echo -e "downloading lgsm-default.server.cfg...\c"
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Arma3/cfg/lgsm-default.server.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
sleep 1
echo -e "downloading lgsm-default.network.cfg...\c"
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Arma3/cfg/lgsm-default.network.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
sleep 1
fn_arma3config

Loading…
Cancel
Save