4
0

install_factorio_save.sh 455 B

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