You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

booty.sh 234B

1234567891011121314
  1. #!/bin/bash
  2. MAIN_CONFIG="/etc/bootybot.conf"
  3. if [ -f localconfig ]; then
  4. source localconfig
  5. elif [ -f "$MAIN_CONFIG" ]; then
  6. source $MAIN_CONFIG
  7. else
  8. echo 'error: no valid config found'
  9. exit 1
  10. fi
  11. # TODO The rest of the script.