|
|
@ -921,7 +921,7 @@ fn_info_config_sdtd(){ |
|
|
|
servername=$(grep "ServerName" "${servercfgfullpath}" | sed 's/^.*value="//' | cut -f1 -d"\"") |
|
|
|
serverpassword=$(grep "ServerPassword" "${servercfgfullpath}" | sed 's/^.*value="//' | cut -f1 -d"\"") |
|
|
|
port=$(grep "ServerPort" "${servercfgfullpath}" | tr -cd '[:digit:]') |
|
|
|
queryport=$((port + 1)) |
|
|
|
queryport=$port |
|
|
|
|
|
|
|
webadminenabled=$(grep "ControlPanelEnabled" "${servercfgfullpath}" | sed 's/^.*value="//' | cut -f1 -d"\"") |
|
|
|
webadminport=$(grep "ControlPanelPort" "${servercfgfullpath}" | tr -cd '[:digit:]') |
|
|
@ -1253,4 +1253,4 @@ elif [ "${shortname}" == "squad" ]; then |
|
|
|
# Stationeers |
|
|
|
elif [ "${shortname}" == "st" ]; then |
|
|
|
fn_info_config_stationeers |
|
|
|
fi |
|
|
|
fi |
|
|
|