Enhance-More Colours (#52)

enable colours in more scripts
change fail2ban.s to use arguments.sh to initialize it's variables
This commit is contained in:
Mafoo
2017-02-08 05:44:35 +00:00
committed by FusionPBX
parent bace8c8d2d
commit 051a6b9711
4 changed files with 25 additions and 7 deletions

View File

@@ -1,7 +1,13 @@
#!/bin/sh
#move to script directory so all relative paths work
cd "$(dirname "$0")"
. ./colors.sh
. ./arguments.sh
#send a message
echo "Configure IPTables"
verbose "Configuring IPTables"
#run iptables commands
iptables -A INPUT -i lo -j ACCEPT