Browse Source

Update nec post isntall

pull/3995/head
crawforc3 3 years ago
parent
commit
6fa3e13907
  1. 22
      lgsm/functions/fix_nec.sh

22
lgsm/functions/fix_nec.sh

@ -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…
Cancel
Save