reverted for bash shell
This commit is contained in:
@@ -9,7 +9,7 @@ echo -e '\033[35m
|
||||
/ __/ / /_/ / / // __// /_/ / /_/ / / / /
|
||||
/_/ \__,_/_/_//____/_.___/\__,_/_/ /_/
|
||||
\033[0m'
|
||||
echo "\033[35;1mInstalling fall2ban \033[0m"
|
||||
echo -e "\033[35;1mInstalling fall2ban \033[0m"
|
||||
|
||||
if [ "$EUID" -ne 0 ]; then
|
||||
echo "Please run as root"
|
||||
@@ -23,4 +23,4 @@ cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
|
||||
touch /var/log/auth.log
|
||||
systemctl enable fail2ban
|
||||
systemctl restart fail2ban
|
||||
echo "\033[92;1mfail2ban installed and configured\033[Om"
|
||||
echo -e "\033[92;1mfail2ban installed and configured\033[Om"
|
||||
|
||||
Reference in New Issue
Block a user