forked from norman/fusionpbx-install.sh-github-mirror
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:
8
debian/resources/fail2ban.sh
vendored
8
debian/resources/fail2ban.sh
vendored
@@ -1,13 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
#move to script directory so all relative paths work
|
||||
#cd "$(dirname "$0")"
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
#initialize variable encase we are called directly
|
||||
[ -z $USE_FREESWITCH_SOURCE ] && USE_FREESWITCH_SOURCE=false
|
||||
. ./colors.sh
|
||||
. ./arguments.sh
|
||||
|
||||
#send a message
|
||||
echo "Install Fail2ban"
|
||||
verbose "Installing Fail2ban"
|
||||
|
||||
#add the dependencies
|
||||
apt-get install -y --force-yes fail2ban
|
||||
|
||||
Reference in New Issue
Block a user