From b6fcb3c36b745d49ee47d3af9b6aa9fb24b38026 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Tue, 21 Apr 2020 02:36:13 +0000 Subject: [PATCH] fail2ban and diacord bug fix. --- discord.sh | 4 +++- one-time-stuff/install-software.sh | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/discord.sh b/discord.sh index c9f395b..f9ae6f1 100755 --- a/discord.sh +++ b/discord.sh @@ -1,6 +1,8 @@ #!/bin/bash -source config.sh +LOCATION=`dirname "$0"` + +source "${LOCATION}/config.sh" HOOK_ARG="$1" MESSAGE="${@:2}" diff --git a/one-time-stuff/install-software.sh b/one-time-stuff/install-software.sh index bd56010..bf622e3 100755 --- a/one-time-stuff/install-software.sh +++ b/one-time-stuff/install-software.sh @@ -52,8 +52,8 @@ function install_collection () { # ---------------------------------------------------------- -echo "----- Install core utilities: git, htop, jq, etc. ---" -install_collection 'extra utilities' git htop jq grep gzip net-tools +echo "----- Install core utilities: fail2bqn, git, jq.. ---" +install_collection 'extra utilities' fail2ban git htop jq grep gzip net-tools echo "----- Install extra utilities: ncdu, zip, iftop -----" install_collection 'extra utilities' ncdu zip unzip iftop