#!/bin/bash MAIN_CONFIG="/etc/bootybot.conf" if [ -f localconfig ]; then source localconfig elif [ -f "$MAIN_CONFIG" ]; then source $MAIN_CONFIG else echo 'error: no valid config found' exit 1 fi # TODO The rest of the script.