#!/bin/sh SAVE_FILE="/root/.openttd/save/autosave/latest.sav" if [ -f "$SAVE_FILE" ]; then echo "Loading savegame: $SAVE_FILE" exec /openttd/openttd -D -g autosave/latest.sav else echo "No savegame found. Starting new game." exec /openttd/openttd -D fi