|
@ -14,8 +14,11 @@ queryport="15777" |
|
|
beaconport="15000" |
|
|
beaconport="15000" |
|
|
port="7777" |
|
|
port="7777" |
|
|
|
|
|
|
|
|
|
|
|
## Gather IP address for startup parameter |
|
|
|
|
|
IPADDR=$(ip addr show |grep 'inet '|grep -v 127.0.0.1 |awk '{print $2}'| cut -d/ -f1) |
|
|
|
|
|
|
|
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
|
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
|
|
startparameters="FactoryGame -ServerQueryPort=${queryport} -BeaconPort=${beaconport} -GamePort=${port} -log -unattended" |
|
|
startparameters="FactoryGame -multihome=${IPADDR} -ServerQueryPort=${queryport} -BeaconPort=${beaconport} -GamePort=${port} -log -unattended" |
|
|
|
|
|
|
|
|
#### LinuxGSM Settings #### |
|
|
#### LinuxGSM Settings #### |
|
|
|
|
|
|
|
|