install_factorio_save.sh 444 B

123456789101112131415
  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. local modulename="INSTALL"
  7. local commandaction="Install"
  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"