Просмотр исходного кода

feat(avorion): remove avgalaxy variable and replace with selfname

Daniel Gibbs 6 лет назад
Родитель
Сommit
f05eab2633
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      lgsm/config-default/config-lgsm/avserver/_default.cfg

+ 2 - 3
lgsm/config-default/config-lgsm/avserver/_default.cfg

@@ -11,14 +11,13 @@
 port="27000"
 port="27000"
 # https://steamidfinder.com
 # https://steamidfinder.com
 adminsteamid=""
 adminsteamid=""
-avgalaxy="avgalaxy"
 
 
 ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
 ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
 fn_parms(){
 fn_parms(){
 if [ ! -z "${adminsteamid}" ]; then
 if [ ! -z "${adminsteamid}" ]; then
 	admincmd="--admin ${adminsteamid}"
 	admincmd="--admin ${adminsteamid}"
 fi
 fi
-parms="--galaxy-name ${avgalaxy} --ip ${ip} --datapath ${avdatapath} ${admincmd}"
+parms="--galaxy-name ${selfname} --ip ${ip} --datapath ${avdatapath} ${admincmd}"
 }
 }
 
 
 #### LinuxGSM Settings ####
 #### LinuxGSM Settings ####
@@ -146,7 +145,7 @@ glibc="2.15"
 
 
 ## Game Server Directories
 ## Game Server Directories
 avdatapath="${serverfiles}/galaxy"
 avdatapath="${serverfiles}/galaxy"
-avgalaxypath="${avdatapath}/${avgalaxy}"
+avgalaxypath="${avdatapath}/${selfname}"
 systemdir="${serverfiles}"
 systemdir="${serverfiles}"
 executabledir="${systemdir}"
 executabledir="${systemdir}"
 executable="./server.sh"
 executable="./server.sh"