Browse Source

further dir changes

pull/1477/head
Daniel Gibbs 8 years ago
parent
commit
6bd5ac5fc6
  1. 0
      lgsm/config-default/config-lgsm/arkserver/_default.cfg
  2. 0
      lgsm/config-default/config-lgsm/arma3server/_default.cfg
  3. 0
      lgsm/config-default/config-lgsm/common-template.cfg
  4. 0
      lgsm/config-default/config-lgsm/csgoserver/_default.cfg
  5. 0
      lgsm/config-default/config-lgsm/instance-template.cfg
  6. 0
      lgsm/config-default/config-lgsm/sdtdserver/_default.cfg
  7. 6
      linuxgsm.sh

0
lgsm/config-default/arkserver/_default.cfg → lgsm/config-default/config-lgsm/arkserver/_default.cfg

0
lgsm/config-default/arma3server/_default.cfg → lgsm/config-default/config-lgsm/arma3server/_default.cfg

0
lgsm/config-default/common-template.cfg → lgsm/config-default/config-lgsm/common-template.cfg

0
lgsm/config-default/csgoserver/_default.cfg → lgsm/config-default/config-lgsm/csgoserver/_default.cfg

0
lgsm/config-default/instance-template.cfg → lgsm/config-default/config-lgsm/instance-template.cfg

0
lgsm/config-default/sdtdserver/_default.cfg → lgsm/config-default/config-lgsm/sdtdserver/_default.cfg

6
linuxgsm.sh

@ -315,7 +315,7 @@ else
# Load the default config. If missing download it. If changed reload it.
if [ ! -f "${configdirdefault}/config-lgsm/${servername}/_default.cfg" ];then
mkdir -p "${configdirdefault}/config-lgsm/${servername}"
fn_boostrap_fetch_config "lgsm/config-default/${servername}" "_default.cfg" "${configdirdefault}/config-lgsm/${servername}" "_default.cfg" "noexecutecmd" "norun" "noforce" "nomd5"
fn_boostrap_fetch_config "lgsm/config-default/config-lgsm/${servername}" "_default.cfg" "${configdirdefault}/config-lgsm/${servername}" "_default.cfg" "noexecutecmd" "norun" "noforce" "nomd5"
fi
if [ ! -f "${configdirserver}/_default.cfg" ];then
mkdir -p "${configdirserver}"
@ -330,14 +330,14 @@ else
source "${configdirserver}/_default.cfg"
# Load the common.cfg config. If missing download it
if [ ! -f "${configdirserver}/common.cfg" ];then
fn_boostrap_fetch_config "lgsm/config-default" "common-template.cfg" "${configdirserver}" "common.cfg" "${executecmd}" "noexecutecmd" "norun" "noforce" "nomd5"
fn_boostrap_fetch_config "lgsm/config-default/config-lgsm" "common-template.cfg" "${configdirserver}" "common.cfg" "${executecmd}" "noexecutecmd" "norun" "noforce" "nomd5"
source "${configdirserver}/common.cfg"
else
source "${configdirserver}/common.cfg"
fi
# Load the instance.cfg config. If missing download it
if [ ! -f "${configdirserver}/${servicename}.cfg" ];then
fn_boostrap_fetch_config "lgsm/config-default" "instance-template.cfg" "${configdirserver}" "${servicename}.cfg" "noexecutecmd" "norun" "noforce" "nomd5"
fn_boostrap_fetch_config "lgsm/config-default/config-lgsm" "instance-template.cfg" "${configdirserver}" "${servicename}.cfg" "noexecutecmd" "norun" "noforce" "nomd5"
source "${configdirserver}/${servicename}.cfg"
else
source "${configdirserver}/${servicename}.cfg"

Loading…
Cancel
Save