feat(vint): migrate to dotnet from mono (#4304)

* adde dotnet repo

* feat: update package dependencies for Ubuntu 16.04, 18.04, and 20.04

- Updated the package dependency for "vints" from "mono-complete" to "aspnetcore-runtime-7.0" in the Ubuntu 16.04, 18.04, and 20.04 CSV files.
- Also updated the package dependency for "vpmc" from "openjdk-8-jre" to "openjdk-11-jre" in the Ubuntu 18.04 and 20.04 CSV files.

This commit ensures that the correct package dependencies are specified for these Ubuntu versions, improving compatibility and functionality of the codebase.

* refactor: update dependency check for ASP.NET Core runtime

The code has been refactored to update the dependency check for the ASP.NET Core runtime. The condition that checks for the presence of "dotnet-runtime-7.0" has been changed to "aspnetcore-runtime-7.0". This ensures that the correct dependency is being checked and improves accuracy in determining if the required runtime is installed.

* fix: fix conditional statement in check_deps.sh

The commit fixes a bug in the conditional statement of the check_deps.sh script. Previously, it incorrectly checked if dotnetversion was empty instead of checking if it was not empty. This caused an incorrect value to be assigned to depstatus and dotnetinstalled variables. The bug has been fixed by correcting the conditional statement.

* refactor: simplify install_config.sh

This commit simplifies the `install_config.sh` file by removing unnecessary code for the "vints" configuration. The configuration is now generated on first run, and the list of config locations is still provided.

* refactor: improve error handling and display in core_exit.sh and install_config.sh

- In core_exit.sh, added a check to set exit code to 4 if it is not already set.
- In install_config.sh, improved the display of missing config file by highlighting the file path.

These changes aim to enhance the error handling and provide clearer information to users.

* feat: add exitcode handling to command_install.sh

The commit adds a check for the exitcode variable in command_install.sh. If it is empty, it sets it to 0. This change ensures proper handling of the exitcode in the script.

* refactor: improve installation process

The code changes in this commit refactor the installation process. The `command_install.sh` file has been modified to remove unnecessary code. Additionally, the `install_complete.sh` file has been updated to provide more informative messages based on the exit code. This improves the overall clarity and user experience during installation.

Co-authored-by: AI Assistant <assistant@example.com>

* refactor: remove redundant code in install_config.sh

The commit removes a redundant function call in the install_config.sh file. The "fn_list_config_locations" function is no longer needed for the "vints" configuration.

* a

* refactor: improve logging in command_stop.sh

- Changed `fn_script_log_error` to `fn_script_log_info` for consistency
- Removed unnecessary empty line

* refactor: dont try to stop a server that is already stopped

* refactor: remove redundant code and improve socket name generation

The commit refactors the code in `command_start.sh` and `linuxgsm.sh` to remove redundant code related to generating a unique tmux socket name. The code now creates a uid file if it doesn't exist, stops the running server, generates a uid using the current timestamp, and updates the socketname accordingly. This change improves the efficiency and reliability of socket name generation.

* refactor: remove unnecessary command_stop.sh call

The code change removes the unnecessary call to `command_stop.sh` in the `linuxgsm.sh` file. This improves efficiency and prevents lingering tmux sessions.

* refactor: remove duplicate code for creating unique tmux socket name

The code changes in `command_start.sh` and `linuxgsm.sh` refactor the creation of a unique tmux socket name. The duplicate code in `linuxgsm.sh` has been removed, resulting in cleaner and more efficient code.

* refactor: improve socketname assignment

The code change refactors the socketname assignment in the linuxgsm.sh script. Instead of directly assigning it to "${sessionname}-$(cat "${datadir}/${selfname}.uid")", it now checks if the file "${datadir}/${selfname}.uid" exists before assigning the value. This improves error handling and prevents potential issues when the file doesn't exist.
This commit is contained in:
Daniel Gibbs 2023-09-04 21:24:27 +01:00 committed by GitHub
parent 49be44db23
commit 5f0f12a9b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
32 changed files with 99 additions and 321 deletions

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,glibc-devel vh,glibc-devel
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,java-17-openjdk vpmc,java-17-openjdk
vs vs
wet wet

1 all,bc,binutils,bzip2,cpio,curl,epel-release,file,glibc.i686,gzip,hostname,jq,libstdc++,libstdc++.i686,nmap-ncat,python36,tar,tmux,unzip,util-linux,wget,xz
124 ut3
125 ut99
126 vh,glibc-devel
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,java-17-openjdk
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,glibc-devel vh,glibc-devel
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,java-17-openjdk vpmc,java-17-openjdk
vs vs
wet wet

1 all,bc,binutils,bzip2,cpio,curl,epel-release,file,glibc.i686,gzip,hostname,jq,libstdc++,libstdc++.i686,nmap-ncat,python3,tar,tmux,unzip,util-linux,wget,xz
124 ut3
125 ut99
126 vh,glibc-devel
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,java-17-openjdk
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,glibc-devel vh,glibc-devel
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,java-11-openjdk vpmc,java-11-openjdk
vs vs
wet wet

1 all,bc,binutils,bzip2,cpio,curl,epel-release,file,glibc.i686,gzip,hostname,jq,libstdc++,libstdc++.i686,nmap-ncat,python3,tar,tmux,unzip,util-linux,wget,xz
124 ut3
125 ut99
126 vh,glibc-devel
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,java-11-openjdk
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,glibc-devel vh,glibc-devel
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,java-17-openjdk vpmc,java-17-openjdk
vs vs
wet wet

1 all,bc,binutils,bzip2,cpio,curl,epel-release,file,glibc.i686,gzip,hostname,jq,libstdc++,libstdc++.i686,nmap-ncat,python36,tar,tmux,unzip,util-linux,wget,xz
124 ut3
125 ut99
126 vh,glibc-devel
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,java-17-openjdk
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,glibc-devel vh,glibc-devel
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,java-17-openjdk vpmc,java-17-openjdk
vs vs
wet wet

1 all,bc,binutils,bzip2,cpio,curl,epel-release,file,glibc.i686,gzip,hostname,jq,libstdc++,libstdc++.i686,nmap-ncat,python3,tar,tmux,unzip,util-linux,wget,xz
124 ut3
125 ut99
126 vh,glibc-devel
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,java-17-openjdk
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,libc6-dev vh,libc6-dev
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,openjdk-11-jre vpmc,openjdk-11-jre
vs vs
wet wet

1 all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
124 ut3
125 ut99
126 vh,libc6-dev
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,openjdk-11-jre
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,libc6-dev vh,libc6-dev
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,openjdk-11-jre vpmc,openjdk-11-jre
vs vs
wet wet

1 all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
124 ut3
125 ut99
126 vh,libc6-dev
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,openjdk-11-jre
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,libc6-dev vh,libc6-dev
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,openjdk-17-jre vpmc,openjdk-17-jre
vs vs
wet wet

1 all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat-traditional,python3,tar,tmux,unzip,util-linux,wget,xz-utils
124 ut3
125 ut99
126 vh,libc6-dev
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,openjdk-17-jre
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,libc6-dev vh,libc6-dev
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,openjdk-8-jre vpmc,openjdk-8-jre
vs vs
wet wet

1 all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
124 ut3
125 ut99
126 vh,libc6-dev
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,openjdk-8-jre
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,glibc-devel vh,glibc-devel
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,java-11-openjdk vpmc,java-11-openjdk
vs vs
wet wet

1 all,bc,binutils,bzip2,cpio,curl,epel-release,file,glibc.i686,gzip,hostname,jq,libstdc++,libstdc++.i686,nmap-ncat,python36,tar,tmux,unzip,util-linux,wget,xz
124 ut3
125 ut99
126 vh,glibc-devel
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,java-11-openjdk
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,glibc-devel vh,glibc-devel
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,java-17-openjdk vpmc,java-17-openjdk
vs vs
wet wet

1 all,bc,binutils,bzip2,cpio,curl,epel-release,file,glibc.i686,gzip,hostname,jq,libstdc++,libstdc++.i686,nmap-ncat,python36,tar,tmux,unzip,util-linux,wget,xz
124 ut3
125 ut99
126 vh,glibc-devel
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,java-17-openjdk
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,glibc-devel vh,glibc-devel
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,java-17-openjdk vpmc,java-17-openjdk
vs vs
wet wet

1 all,bc,binutils,bzip2,cpio,curl,epel-release,file,glibc.i686,gzip,hostname,jq,libstdc++,libstdc++.i686,nmap-ncat,python3,tar,tmux,unzip,util-linux,wget,xz
124 ut3
125 ut99
126 vh,glibc-devel
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,java-17-openjdk
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,glibc-devel vh,glibc-devel
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,java-17-openjdk vpmc,java-17-openjdk
vs vs
wet wet

1 all,bc,binutils,bzip2,cpio,curl,epel-release,file,glibc.i686,gzip,hostname,jq,libstdc++,libstdc++.i686,nmap-ncat,python36,tar,tmux,unzip,util-linux,wget,xz
124 ut3
125 ut99
126 vh,glibc-devel
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,java-17-openjdk
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,glibc-devel vh,glibc-devel
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,java-17-openjdk vpmc,java-17-openjdk
vs vs
wet wet

1 all,bc,binutils,bzip2,cpio,curl,epel-release,file,glibc.i686,gzip,hostname,jq,libstdc++,libstdc++.i686,nmap-ncat,python3,tar,tmux,unzip,util-linux,wget,xz
124 ut3
125 ut99
126 vh,glibc-devel
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,java-17-openjdk
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,libc6-dev vh,libc6-dev
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,openjdk-8-jre vpmc,openjdk-8-jre
vs vs
wet wet

1 all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,file,gzip,hostname,jq,lib32gcc1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
124 ut3
125 ut99
126 vh,libc6-dev
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,openjdk-8-jre
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,libc6-dev vh,libc6-dev
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,openjdk-11-jre vpmc,openjdk-11-jre
vs vs
wet wet

1 all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
124 ut3
125 ut99
126 vh,libc6-dev
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,openjdk-11-jre
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,libc6-dev vh,libc6-dev
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,openjdk-11-jre vpmc,openjdk-11-jre
vs vs
wet wet

1 all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
124 ut3
125 ut99
126 vh,libc6-dev
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,openjdk-11-jre
129 vs
130 wet

View File

@ -1,135 +0,0 @@
all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
steamcmd,lib32gcc-s1,lib32stdc++6,libsdl2-2.0-0:i386,steamcmd
ac
ahl
ahl2
ark
arma3
armar,libcurl4
ats
av
bb
bb2,libcurl4-gnutls-dev:i386
bd
bf1942,libncurses5:i386,libtinfo5:i386
bfv,libncurses5:i386,libstdc++5:i386
bmdm,libncurses5:i386
bo
bs
bt,libicu-dev,dos2unix,libxml2-utils
btl
cc
cd
ck,xvfb,libxi6
cmw
cod,libstdc++5:i386
cod2,libstdc++5:i386
cod4
coduo,libstdc++5:i386
codwaw
col
cs
cscz
csgo
css,libtinfo5:i386
ct
dab
dayz
dmc
dod
dodr
dods
doi
dst,libcurl4-gnutls-dev:i386
dys
eco,libgdiplus
em
etl
ets2
fctr
fof
gmod,libtinfo5:i386
hcu
hl2dm
hldm
hldms
hw,lib32z1
ins
inss
ios
jc2
jc3
jk2
kf
kf2
l4d
l4d2
lo
mc,openjdk-17-jre
mcb
mh
mohaa,libstdc++5:i386
mom
mta,libncursesw5,libxml2-utils
nd
nec
nmrih,libtinfo5:i386
ns
ns2,speex,libtbb2
ns2c,speex:i386,libtbb2
ohd
onset,libmariadb-dev
opfor
pc
pc2
pmc,openjdk-17-jre
pstbs,libgconf-2-4
pvkii
pvr,libc++1
pz,openjdk-17-jre,rng-tools
q2
q3
ql
qw
ricochet
ro
rtcw
rust,lib32z1
rw,openjdk-17-jre
samp
sb
sbots
scpsl,mono-complete
scpslsm,mono-complete
sdtd,telnet,expect,libxml2-utils
sf
sfc,libtinfo5:i386
sof2
sol
squad
st,libxml2-utils
stn
sven,libssl1.1:i386,zlib1g:i386
terraria
tf2,libcurl4-gnutls-dev:i386
tfc
ti
ts
ts3
tu
tw
unt
ut
ut2k4
ut3
ut99
vh,libc6-dev
vints,mono-complete
vpmc,openjdk-11-jre
vs
wet
wf
wmc,openjdk-17-jre
wurm,xvfb
zmr,libtinfo5:i386
zps,libtinfo5:i386
1 all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
2 steamcmd,lib32gcc-s1,lib32stdc++6,libsdl2-2.0-0:i386,steamcmd
3 ac
4 ahl
5 ahl2
6 ark
7 arma3
8 armar,libcurl4
9 ats
10 av
11 bb
12 bb2,libcurl4-gnutls-dev:i386
13 bd
14 bf1942,libncurses5:i386,libtinfo5:i386
15 bfv,libncurses5:i386,libstdc++5:i386
16 bmdm,libncurses5:i386
17 bo
18 bs
19 bt,libicu-dev,dos2unix,libxml2-utils
20 btl
21 cc
22 cd
23 ck,xvfb,libxi6
24 cmw
25 cod,libstdc++5:i386
26 cod2,libstdc++5:i386
27 cod4
28 coduo,libstdc++5:i386
29 codwaw
30 col
31 cs
32 cscz
33 csgo
34 css,libtinfo5:i386
35 ct
36 dab
37 dayz
38 dmc
39 dod
40 dodr
41 dods
42 doi
43 dst,libcurl4-gnutls-dev:i386
44 dys
45 eco,libgdiplus
46 em
47 etl
48 ets2
49 fctr
50 fof
51 gmod,libtinfo5:i386
52 hcu
53 hl2dm
54 hldm
55 hldms
56 hw,lib32z1
57 ins
58 inss
59 ios
60 jc2
61 jc3
62 jk2
63 kf
64 kf2
65 l4d
66 l4d2
67 lo
68 mc,openjdk-17-jre
69 mcb
70 mh
71 mohaa,libstdc++5:i386
72 mom
73 mta,libncursesw5,libxml2-utils
74 nd
75 nec
76 nmrih,libtinfo5:i386
77 ns
78 ns2,speex,libtbb2
79 ns2c,speex:i386,libtbb2
80 ohd
81 onset,libmariadb-dev
82 opfor
83 pc
84 pc2
85 pmc,openjdk-17-jre
86 pstbs,libgconf-2-4
87 pvkii
88 pvr,libc++1
89 pz,openjdk-17-jre,rng-tools
90 q2
91 q3
92 ql
93 qw
94 ricochet
95 ro
96 rtcw
97 rust,lib32z1
98 rw,openjdk-17-jre
99 samp
100 sb
101 sbots
102 scpsl,mono-complete
103 scpslsm,mono-complete
104 sdtd,telnet,expect,libxml2-utils
105 sf
106 sfc,libtinfo5:i386
107 sof2
108 sol
109 squad
110 st,libxml2-utils
111 stn
112 sven,libssl1.1:i386,zlib1g:i386
113 terraria
114 tf2,libcurl4-gnutls-dev:i386
115 tfc
116 ti
117 ts
118 ts3
119 tu
120 tw
121 unt
122 ut
123 ut2k4
124 ut3
125 ut99
126 vh,libc6-dev
127 vints,mono-complete
128 vpmc,openjdk-11-jre
129 vs
130 wet
131 wf
132 wmc,openjdk-17-jre
133 wurm,xvfb
134 zmr,libtinfo5:i386
135 zps,libtinfo5:i386

View File

@ -1,135 +0,0 @@
all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
steamcmd,lib32gcc-s1,lib32stdc++6,libsdl2-2.0-0:i386,steamcmd
ac
ahl
ahl2
ark
arma3
armar,libcurl4
ats
av
bb
bb2,libcurl4-gnutls-dev:i386
bd
bf1942,libncurses5:i386,libtinfo5:i386
bfv,libncurses5:i386,libstdc++5:i386
bmdm,libncurses5:i386
bo
bs
bt,libicu-dev,dos2unix,libxml2-utils
btl
cc
cd
ck,xvfb,libxi6
cmw
cod,libstdc++5:i386
cod2,libstdc++5:i386
cod4
coduo,libstdc++5:i386
codwaw
col
cs
cscz
csgo
css,libtinfo5:i386
ct
dab
dayz
dmc
dod
dodr
dods
doi
dst,libcurl4-gnutls-dev:i386
dys
eco,libgdiplus
em
etl
ets2
fctr
fof
gmod,libtinfo5:i386
hcu
hl2dm
hldm
hldms
hw,lib32z1
ins
inss
ios
jc2
jc3
jk2
kf
kf2
l4d
l4d2
lo
mc,openjdk-17-jre
mcb
mh
mohaa,libstdc++5:i386
mom
mta,libncursesw5,libxml2-utils
nd
nec
nmrih,libtinfo5:i386
ns
ns2,speex,libtbb2
ns2c,speex:i386,libtbb2
ohd
onset,libmariadb-dev
opfor
pc
pc2
pmc,openjdk-17-jre
pstbs,libgconf-2-4
pvkii
pvr,libc++1
pz,openjdk-17-jre,rng-tools
q2
q3
ql
qw
ricochet
ro
rtcw
rust,lib32z1
rw,openjdk-17-jre
samp
sb
sbots
scpsl,mono-complete
scpslsm,mono-complete
sdtd,telnet,expect,libxml2-utils
sf
sfc,libtinfo5:i386
sof2
sol
squad
st,libxml2-utils
stn
sven,libssl1.1:i386,zlib1g:i386
terraria
tf2,libcurl4-gnutls-dev:i386
tfc
ti
ts
ts3
tu
tw
unt
ut
ut2k4
ut3
ut99
vh,libc6-dev
vints,mono-complete
vpmc,openjdk-11-jre
vs
wet
wf
wmc,openjdk-17-jre
wurm,xvfb
zmr,libtinfo5:i386
zps,libtinfo5:i386
1 all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
2 steamcmd,lib32gcc-s1,lib32stdc++6,libsdl2-2.0-0:i386,steamcmd
3 ac
4 ahl
5 ahl2
6 ark
7 arma3
8 armar,libcurl4
9 ats
10 av
11 bb
12 bb2,libcurl4-gnutls-dev:i386
13 bd
14 bf1942,libncurses5:i386,libtinfo5:i386
15 bfv,libncurses5:i386,libstdc++5:i386
16 bmdm,libncurses5:i386
17 bo
18 bs
19 bt,libicu-dev,dos2unix,libxml2-utils
20 btl
21 cc
22 cd
23 ck,xvfb,libxi6
24 cmw
25 cod,libstdc++5:i386
26 cod2,libstdc++5:i386
27 cod4
28 coduo,libstdc++5:i386
29 codwaw
30 col
31 cs
32 cscz
33 csgo
34 css,libtinfo5:i386
35 ct
36 dab
37 dayz
38 dmc
39 dod
40 dodr
41 dods
42 doi
43 dst,libcurl4-gnutls-dev:i386
44 dys
45 eco,libgdiplus
46 em
47 etl
48 ets2
49 fctr
50 fof
51 gmod,libtinfo5:i386
52 hcu
53 hl2dm
54 hldm
55 hldms
56 hw,lib32z1
57 ins
58 inss
59 ios
60 jc2
61 jc3
62 jk2
63 kf
64 kf2
65 l4d
66 l4d2
67 lo
68 mc,openjdk-17-jre
69 mcb
70 mh
71 mohaa,libstdc++5:i386
72 mom
73 mta,libncursesw5,libxml2-utils
74 nd
75 nec
76 nmrih,libtinfo5:i386
77 ns
78 ns2,speex,libtbb2
79 ns2c,speex:i386,libtbb2
80 ohd
81 onset,libmariadb-dev
82 opfor
83 pc
84 pc2
85 pmc,openjdk-17-jre
86 pstbs,libgconf-2-4
87 pvkii
88 pvr,libc++1
89 pz,openjdk-17-jre,rng-tools
90 q2
91 q3
92 ql
93 qw
94 ricochet
95 ro
96 rtcw
97 rust,lib32z1
98 rw,openjdk-17-jre
99 samp
100 sb
101 sbots
102 scpsl,mono-complete
103 scpslsm,mono-complete
104 sdtd,telnet,expect,libxml2-utils
105 sf
106 sfc,libtinfo5:i386
107 sof2
108 sol
109 squad
110 st,libxml2-utils
111 stn
112 sven,libssl1.1:i386,zlib1g:i386
113 terraria
114 tf2,libcurl4-gnutls-dev:i386
115 tfc
116 ti
117 ts
118 ts3
119 tu
120 tw
121 unt
122 ut
123 ut2k4
124 ut3
125 ut99
126 vh,libc6-dev
127 vints,mono-complete
128 vpmc,openjdk-11-jre
129 vs
130 wet
131 wf
132 wmc,openjdk-17-jre
133 wurm,xvfb
134 zmr,libtinfo5:i386
135 zps,libtinfo5:i386

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,libc6-dev vh,libc6-dev
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,openjdk-17-jre vpmc,openjdk-17-jre
vs vs
wet wet

1 all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
124 ut3
125 ut99
126 vh,libc6-dev
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,openjdk-17-jre
129 vs
130 wet

View File

@ -124,7 +124,7 @@ ut2k4
ut3 ut3
ut99 ut99
vh,libc6-dev vh,libc6-dev
vints,mono-complete vints,aspnetcore-runtime-7.0
vpmc,openjdk-17-jre vpmc,openjdk-17-jre
vs vs
wet wet

1 all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
124 ut3
125 ut99
126 vh,libc6-dev
127 vints,mono-complete vints,aspnetcore-runtime-7.0
128 vpmc,openjdk-17-jre
129 vs
130 wet

View File

@ -7,6 +7,19 @@
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
fn_install_dotnet_repo() {
if [ "${distroid}" == "ubuntu" ]; then
# if package aspnetcore-runtime-7.0 is unavailable in ubuntu repos, add the microsoft repo.
if ! apt-cache show aspnetcore-runtime-7.0 > /dev/null 2>&1; then
fn_fetch_file "https://packages.microsoft.com/config/ubuntu/${distroversion}/packages-microsoft-prod.deb" "" "" "" "/tmp" "packages-microsoft-prod.deb" "" "" "" ""
sudo dpkg -i /tmp/packages-microsoft-prod.deb
fi
elif [ "${distroid}" == "debian" ]; then
fn_fetch_file "https://packages.microsoft.com/config/debian/${distroversion}/packages-microsoft-prod.deb" "" "" "" "/tmp" "packages-microsoft-prod.deb" "" "" "" ""
sudo dpkg -i /tmp/packages-microsoft-prod.deb
fi
}
fn_install_mono_repo() { fn_install_mono_repo() {
if [ "${autodepinstall}" == "0" ]; then if [ "${autodepinstall}" == "0" ]; then
fn_print_information_nl "Automatically adding Mono repository." fn_print_information_nl "Automatically adding Mono repository."
@ -20,11 +33,11 @@ fn_install_mono_repo() {
echo -en " \r" echo -en " \r"
if [ "${distroid}" == "ubuntu" ]; then if [ "${distroid}" == "ubuntu" ]; then
if [ "${distroversion}" == "22.04" ]; then if [ "${distroversion}" == "22.04" ]; then
cmd="sudo apt install gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/ubuntu stable-jammy main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update" cmd="sudo apt-get install gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/ubuntu stable-jammy main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update"
elif [ "${distroversion}" == "20.04" ]; then elif [ "${distroversion}" == "20.04" ]; then
cmd="sudo apt install gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/ubuntu stable-focal main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update" cmd="sudo apt-get install gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/ubuntu stable-focal main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update"
elif [ "${distroversion}" == "18.04" ]; then elif [ "${distroversion}" == "18.04" ]; then
cmd="sudo apt install gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/ubuntu stable-bionic main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update" cmd="sudo apt-get install gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/ubuntu stable-bionic main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update"
elif [ "${distroversion}" == "16.04" ]; then elif [ "${distroversion}" == "16.04" ]; then
cmd="sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;sudo apt install apt-transport-https ca-certificates;echo 'deb https://download.mono-project.com/repo/ubuntu stable-xenial main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update" cmd="sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;sudo apt install apt-transport-https ca-certificates;echo 'deb https://download.mono-project.com/repo/ubuntu stable-xenial main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update"
else else
@ -32,13 +45,13 @@ fn_install_mono_repo() {
fi fi
elif [ "${distroid}" == "debian" ]; then elif [ "${distroid}" == "debian" ]; then
if [ "${distroversion}" == "12" ]; then if [ "${distroversion}" == "12" ]; then
cmd="sudo apt install apt-transport-https dirmngr gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/debian stable-bookworm main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update" cmd="sudo apt-get install apt-transport-https dirmngr gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/debian stable-bookworm main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update"
elif [ "${distroversion}" == "11" ]; then elif [ "${distroversion}" == "11" ]; then
cmd="sudo apt install apt-transport-https dirmngr gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/debian stable-bullseye main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update" cmd="sudo apt-get install apt-transport-https dirmngr gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/debian stable-bullseye main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update"
elif [ "${distroversion}" == "10" ]; then elif [ "${distroversion}" == "10" ]; then
cmd="sudo apt install apt-transport-https dirmngr gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/debian stable-buster main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update" cmd="sudo apt-get install apt-transport-https dirmngr gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/debian stable-buster main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update"
elif [ "${distroversion}" == "9" ]; then elif [ "${distroversion}" == "9" ]; then
cmd="sudo apt install apt-transport-https dirmngr gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/debian stable-stretch main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update" cmd="sudo apt-get install apt-transport-https dirmngr gnupg ca-certificates;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;echo 'deb https://download.mono-project.com/repo/debian stable-stretch main' | sudo tee /etc/apt/sources.list.d/mono-official-stable.list;sudo apt update"
else else
monoautoinstall="1" monoautoinstall="1"
fi fi
@ -135,10 +148,14 @@ fn_install_missing_deps() {
fi fi
autodepinstall="$?" autodepinstall="$?"
if [ "${monostatus}" == "1" ]; then if [ "${monoinstalled}" == "false" ]; then
fn_install_mono_repo fn_install_mono_repo
fi fi
if [ "${dotnetinstalled}" == "false" ]; then
fn_install_dotnet_repo
fi
if [ "${commandname}" == "INSTALL" ]; then if [ "${commandname}" == "INSTALL" ]; then
if [ "${autodepinstall}" == "0" ]; then if [ "${autodepinstall}" == "0" ]; then
fn_print_information_nl "$(whoami) has sudo access." fn_print_information_nl "$(whoami) has sudo access."
@ -254,11 +271,21 @@ fn_deps_detector() {
if [ -n "${monoversion}" ] && [ "${monoversion}" -ge "5" ]; then if [ -n "${monoversion}" ] && [ "${monoversion}" -ge "5" ]; then
# Mono >= 5.0.0 already installed. # Mono >= 5.0.0 already installed.
depstatus=0 depstatus=0
monostatus=0 monoinstalled=true
else else
# Mono not installed or installed Mono < 5.0.0. # Mono not installed or installed Mono < 5.0.0.
depstatus=1 depstatus=1
monostatus=1 monoinstalled=false
fi
# .NET Core: A .NET Core repo needs to be installed.
elif [ "${deptocheck}" == "aspnetcore-runtime-7.0" ]; then
# .NET is not installed.
if [ -n "${dotnetversion}" ]; then
depstatus=0
dotnetinstalled=true
else
depstatus=1
dotnetinstalled=false
fi fi
elif [ "$(command -v apt 2> /dev/null)" ]; then elif [ "$(command -v apt 2> /dev/null)" ]; then
dpkg-query -W -f='${Status}' "${deptocheck}" 2> /dev/null | grep -q -P '^install ok installed' dpkg-query -W -f='${Status}' "${deptocheck}" 2> /dev/null | grep -q -P '^install ok installed'

View File

@ -15,7 +15,7 @@ echo -e "================================="
echo -e "glibc Requirements Checker" echo -e "glibc Requirements Checker"
echo -e "=================================" echo -e "================================="
if [ ! "$(command -v objdump)" ]; then if [ ! "$(command -v objdump 2> /dev/null)" ]; then
fn_print_failure_nl "objdump is missing" fn_print_failure_nl "objdump is missing"
fn_script_log_fatal "objdump is missing" fn_script_log_fatal "objdump is missing"
core_exit.sh core_exit.sh

View File

@ -48,5 +48,6 @@ else
fix.sh fix.sh
install_stats.sh install_stats.sh
install_complete.sh install_complete.sh
fi fi
core_exit.sh core_exit.sh

View File

@ -50,9 +50,12 @@ fn_start_tmux() {
# Create uid to ensure unique tmux socket name. # Create uid to ensure unique tmux socket name.
if [ ! -f "${datadir}/${selfname}.uid" ]; then if [ ! -f "${datadir}/${selfname}.uid" ]; then
# stop running server (if running) to prevent lingering tmux sessions. check_status.sh
exitbypass=1 if [ "${status}" != "0" ]; then
command_stop.sh # stop running server (if running) to prevent lingering tmux sessions.
exitbypass=1
command_stop.sh
fi
uid=$(date '+%s' | sha1sum | head -c 8) uid=$(date '+%s' | sha1sum | head -c 8)
echo "${uid}" > "${datadir}/${selfname}.uid" echo "${uid}" > "${datadir}/${selfname}.uid"
socketname="${sessionname}-$(cat "${datadir}/${selfname}.uid")" socketname="${sessionname}-$(cat "${datadir}/${selfname}.uid")"
@ -181,7 +184,7 @@ fn_start_tmux() {
check.sh check.sh
# If user ran the start command monitor will become enabled. # If user ran the start command monitor will become enabled.
if [ "${firstcommandname}" == "START" ]||[ "${firstcommandname}" == "RESTART" ]; then if [ "${firstcommandname}" == "START" ] || [ "${firstcommandname}" == "RESTART" ]; then
date '+%s' > "${lockdir:?}/${selfname}-monitoring.lock" date '+%s' > "${lockdir:?}/${selfname}-monitoring.lock"
fi fi

View File

@ -256,15 +256,15 @@ fn_stop_tmux() {
fn_stop_pre_check() { fn_stop_pre_check() {
if [ "${status}" == "0" ]; then if [ "${status}" == "0" ]; then
fn_print_info_nl "${servername} is already stopped" fn_print_info_nl "${servername} is already stopped"
fn_script_log_error "${servername} is already stopped" fn_script_log_info "${servername} is already stopped"
else else
# Select graceful shutdown. # Select graceful shutdown.
fn_stop_graceful_select fn_stop_graceful_select
fi # Check status again, a kill tmux session if graceful shutdown failed.
# Check status again, a kill tmux session if graceful shutdown failed. check_status.sh
check_status.sh if [ "${status}" != "0" ]; then
if [ "${status}" != "0" ]; then fn_stop_tmux
fn_stop_tmux fi
fi fi
} }
@ -282,11 +282,10 @@ fn_stop_pre_check
rm -f "${lockdir:?}/${selfname}-started.lock" rm -f "${lockdir:?}/${selfname}-started.lock"
# If user ran the stop command monitor will become disabled. # If user ran the stop command monitor will become disabled.
if [ "${firstcommandname}" == "STOP" ];then if [ "${firstcommandname}" == "STOP" ]; then
rm -f "${lockdir:?}/${selfname}-monitoring.lock" rm -f "${lockdir:?}/${selfname}-monitoring.lock"
fi fi
# Remove stopping lockfile. # Remove stopping lockfile.
rm -f "${lockdir:?}/${selfname}-stopping.lock" rm -f "${lockdir:?}/${selfname}-stopping.lock"

View File

@ -36,7 +36,7 @@ fn_dl_steamcmd() {
# Unbuffer will allow the output of steamcmd not buffer allowing a smooth output. # Unbuffer will allow the output of steamcmd not buffer allowing a smooth output.
# unbuffer us part of the expect package. # unbuffer us part of the expect package.
if [ "$(command -v unbuffer)" ]; then if [ "$(command -v unbuffer 2> /dev/null)" ]; then
unbuffer="unbuffer" unbuffer="unbuffer"
fi fi

View File

@ -35,7 +35,9 @@ elif [ "${exitcode}" != "0" ]; then
elif [ "${exitcode}" == "3" ]; then elif [ "${exitcode}" == "3" ]; then
fn_script_log_warn "${moduleselfname} exiting with code: ${exitcode}" fn_script_log_warn "${moduleselfname} exiting with code: ${exitcode}"
else else
# if exit code is not set assume error.
fn_script_log_warn "${moduleselfname} exiting with code: ${exitcode}" fn_script_log_warn "${moduleselfname} exiting with code: ${exitcode}"
exitcode=4
fi fi
fn_exit_dev_debug fn_exit_dev_debug
# remove trap. # remove trap.

View File

@ -127,6 +127,10 @@ if [ "$(command -v mono 2> /dev/null)" ]; then
monoversion="$(mono --version 2>&1 | grep -Po '(?<=version )\d')" monoversion="$(mono --version 2>&1 | grep -Po '(?<=version )\d')"
fi fi
if [ "$(command -v dotnet 2> /dev/null)" ]; then
dotnetversion="$(dotnet --list-runtimes | grep -E 'Microsoft\.NETCore\.App' | awk '{print $2}')"
fi
## Uptime ## Uptime
uptime="$(< /proc/uptime)" uptime="$(< /proc/uptime)"
uptime=${uptime/[. ]*/} uptime=${uptime/[. ]*/}

View File

@ -9,7 +9,21 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
echo -e "" echo -e ""
echo -e "=================================" echo -e "================================="
echo -e "Install Complete!"
if [ "${exitcode}" == "1" ]; then
echo -e "Install Failed!"
fn_script_log_fatal "Install Failed!"
elif [ "${exitcode}" == "2" ]; then
echo -e "Install Completed with Errors!"
fn_script_log_error "Install Completed with Errors!"
elif [ "${exitcode}" == "3" ]; then
echo -e "Install Completed with Warnings!"
fn_script_log_warn "Install Completed with Warnings!"
elif [ -z "${exitcode}" ] || [ "${exitcode}" == "0" ]; then
echo -e "Install Complete!"
fn_script_log_pass "Install Complete!"
fi
fn_script_log_info "Install Complete!" fn_script_log_info "Install Complete!"
echo -e "" echo -e ""
echo -e "To start server type:" echo -e "To start server type:"

View File

@ -154,7 +154,7 @@ fn_list_config_locations() {
elif [ -d "${servercfgfullpath}" ]; then elif [ -d "${servercfgfullpath}" ]; then
echo -e "Game Server Config Dir: ${servercfgfullpath}" echo -e "Game Server Config Dir: ${servercfgfullpath}"
else else
echo -e "Config file: ${red}${servercfgfullpath} (${red}FILE MISSING${default})" echo -e "Config file: ${red}${servercfgfullpath}${default} (${red}FILE MISSING${default})"
fi fi
fi fi
echo -e "LinuxGSM Config: ${lgsmdir}/config-lgsm/${gameservername}" echo -e "LinuxGSM Config: ${lgsmdir}/config-lgsm/${gameservername}"
@ -787,11 +787,8 @@ elif [ "${shortname}" == "unt" ]; then
fn_set_config_vars fn_set_config_vars
fn_list_config_locations fn_list_config_locations
elif [ "${shortname}" == "vints" ]; then elif [ "${shortname}" == "vints" ]; then
array_configs+=(serverconfig.json) # Config is generated on first run
fn_fetch_default_config :
fn_default_config_remote
fn_set_config_vars
fn_list_config_locations
elif [ "${shortname}" == "vs" ]; then elif [ "${shortname}" == "vs" ]; then
array_configs+=(server.cfg) array_configs+=(server.cfg)
fn_fetch_default_config fn_fetch_default_config

View File

@ -36,7 +36,7 @@ tmpdir="${lgsmdir}/tmp"
datadir="${lgsmdir}/data" datadir="${lgsmdir}/data"
lockdir="${lgsmdir}/lock" lockdir="${lgsmdir}/lock"
sessionname="${selfname}" sessionname="${selfname}"
[ -f "${datadir}/${selfname}.uid" ] && socketname="${sessionname}-$(cat "${datadir}/${selfname}.uid")" || socketname="${sessionname}" [ -f "${datadir}/${selfname}.uid" ] && socketname="${sessionname}-$(cat "${datadir}/${selfname}.uid")"
serverlist="${datadir}/serverlist.csv" serverlist="${datadir}/serverlist.csv"
serverlistmenu="${datadir}/serverlistmenu.csv" serverlistmenu="${datadir}/serverlistmenu.csv"
[ -n "${LGSM_CONFIG}" ] && configdir="${LGSM_CONFIG}" || configdir="${lgsmdir}/config-lgsm" [ -n "${LGSM_CONFIG}" ] && configdir="${LGSM_CONFIG}" || configdir="${lgsmdir}/config-lgsm"
@ -413,6 +413,7 @@ else
fi fi
fi fi
fi fi
# Load the IP details before the first config is loaded. # Load the IP details before the first config is loaded.
check_ip.sh check_ip.sh
# Configs have to be loaded twice to allow start startparameters to pick up all vars # Configs have to be loaded twice to allow start startparameters to pick up all vars