mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-07 11:17:23 +01:00
Update docker-entrypoint.sh
This commit is contained in:
parent
81c9d50e7a
commit
75e98e0543
@ -21,10 +21,6 @@ if [ ! -f $CONFIG/map-gen-settings.json ]; then
|
|||||||
cp /opt/factorio/data/map-gen-settings.example.json $CONFIG/map-gen-settings.json
|
cp /opt/factorio/data/map-gen-settings.example.json $CONFIG/map-gen-settings.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f $CONFIG/server-whitelist.json ]; then
|
|
||||||
cp /opt/factorio/data/server-whitelist.example.json $CONFIG/server-whitelist.json
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! find -L $SAVES -iname \*.zip -mindepth 1 -print | grep -q .; then
|
if ! find -L $SAVES -iname \*.zip -mindepth 1 -print | grep -q .; then
|
||||||
/opt/factorio/bin/x64/factorio \
|
/opt/factorio/bin/x64/factorio \
|
||||||
--create $SAVES/_autosave1.zip \
|
--create $SAVES/_autosave1.zip \
|
||||||
|
Loading…
Reference in New Issue
Block a user