Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
1234567891011121314 |
- #!/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.
|