1 changed files with 10 additions and 12 deletions
@ -1,20 +1,18 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
# LinuxGSM fix_av.sh module |
# LinuxGSM fix_nec.sh module |
||||
# Author: Daniel Gibbs |
# Author: Daniel Gibbs |
||||
# Contributors: http://linuxgsm.com/contrib |
# Contributors: http://linuxgsm.com/contrib |
||||
# Website: https://linuxgsm.com |
# Website: https://linuxgsm.com |
||||
# Description: Resolves startup issue with Avorion |
# Description: Starts a server to autogenerate configs after installation |
||||
|
|
||||
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" |
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" |
||||
|
|
||||
|
|
||||
if [ "${postinstall}" == "1" ]; then |
fn_print_information "starting ${gamename} server to generate configs." |
||||
|
exitbypass=1 |
||||
fn_print_information "starting ${gamename} server to generate configs." |
command_start.sh |
||||
command_start.sh |
fn_firstcommand_reset |
||||
sleep 30 |
sleep 10 |
||||
command_stop.sh |
exibypass=1 |
||||
|
command_stop.sh |
||||
fi |
fn_firstcommand_reset |
||||
|
|
||||
|
|
||||
|
Loading…
Reference in new issue