We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e267ef1 commit 8ff0853Copy full SHA for 8ff0853
1 file changed
scripts/manage.sh
@@ -4,8 +4,15 @@
4
### Also make sure that the locale it is activated in /etc/locale.gen
5
#export LANG="en_US.UTF-8"
6
7
+MANAGE_SCRIPT_SETTINGS_FILE="$HOME/src/manage.conf"
8
+
9
# Read settings for this script
-source $HOME/src/manage.conf
10
+if [ -f "${MANAGE_SCRIPT_SETTINGS_FILE}" ]; then
11
+ source "${MANAGE_SCRIPT_SETTINGS_FILE}"
12
+else
13
+ # Start only bot1 as fallback if manage.conf does not exist.
14
+ BOTS_ENABLED="1"
15
+fi
16
17
function show_help() {
18
cat<<EOF
0 commit comments