#!/bin/bash if [[ ! -s /usr/share/dom4/current ]]; then echo "No game configured. Use 'dom4 config' to set up a game." exit 1 fi game=$( /var/log/dom4/dom4.log