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 PHP"
verbose "Configuring PHP"
#update config if source is being used
sed 's#post_max_size = .*#post_max_size = 80M#g' -i /etc/php5/fpm/php.ini