adsf
This commit is contained in:
@@ -212,10 +212,8 @@ load_mods() {
|
|||||||
|
|
||||||
# trim the initial leading ';'
|
# trim the initial leading ';'
|
||||||
_modstring=${_modstring#;}
|
_modstring=${_modstring#;}
|
||||||
printf '%s\n' "$_modstring" > .modstring
|
printf '%s\n' "$_modstring" > modstring
|
||||||
|
msg "Mods successfully loaded."
|
||||||
msg "Mods successfully loaded. Using modstring:"
|
|
||||||
printf '"%s"\n' "$(cat .modstring)"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# ===================================================
|
# ===================================================
|
||||||
@@ -239,7 +237,7 @@ start "$PROCESS_NAME" ^
|
|||||||
-config=serverDZ.cfg ^
|
-config=serverDZ.cfg ^
|
||||||
-port="$SERVER_PORT" ^
|
-port="$SERVER_PORT" ^
|
||||||
-profiles=Profilesfolder ^
|
-profiles=Profilesfolder ^
|
||||||
-mod="$(cat .mod_string)" ^
|
-mod="$(cat modstring)" ^
|
||||||
-cpuCount="$SERVER_CPU" ^
|
-cpuCount="$SERVER_CPU" ^
|
||||||
-dologs -adminlog -netlog -freezecheck
|
-dologs -adminlog -netlog -freezecheck
|
||||||
EOF
|
EOF
|
||||||
@@ -266,7 +264,7 @@ EOF
|
|||||||
# TODO: need to change this to be title of the cmd else it will kill all servers
|
# TODO: need to change this to be title of the cmd else it will kill all servers
|
||||||
cmd.exe /C taskkill /IM /FI "$PROCESS_NAME"
|
cmd.exe /C taskkill /IM /FI "$PROCESS_NAME"
|
||||||
###### cmd.exe /C taskkill /im DayZServer_x64.exe /F
|
###### cmd.exe /C taskkill /im DayZServer_x64.exe /F
|
||||||
rm -f temp.bat 2>/dev/null ||:
|
rm -f temp.bat modstring 2>/dev/null ||:
|
||||||
|
|
||||||
msg "Sleeping 10 seconds to settle"
|
msg "Sleeping 10 seconds to settle"
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|||||||
Reference in New Issue
Block a user