Ignore:
Timestamp:
Jul 10, 2014, 9:59:02 PM (10 years ago)
Author:
alloc
Message:

v25: Fixes #22, #23. Also adds new serverconfig options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/lib/7dtd/commands/backup.sh

    r61 r67  
    99        if [ ! -d "$SDTD_BASE/instances" ]; then
    1010                return
     11        fi
     12
     13        if [ "$SDTD_BACKUP_SAVEWORLD" == "true" ]; then
     14                for I in $(getInstanceList); do
     15                        if [ $(isRunning $I) -eq 1 ]; then
     16                                telnetCommand $I saveworld 2
     17                        fi
     18                done
    1119        fi
    1220
Note: See TracChangeset for help on using the changeset viewer.