4
0

install_factorio_save.sh 494 B

123456789101112131415
  1. #!/bin/bash
  2. # LinuxGSM install_factorio_save.sh module
  3. # Author: Daniel Gibbs
  4. # Contributors: http://linuxgsm.com/contrib
  5. # Website: https://linuxgsm.com
  6. # Description: Creates the initial save file for Factorio.
  7. moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  8. echo -e ""
  9. echo -e "${lightyellow}Creating initial Factorio savefile${default}"
  10. echo -e "================================="
  11. fn_sleep_time
  12. check_glibc.sh
  13. "${executabledir}"/factorio --create "${serverfiles}/save1"