From bf00788162fdee24fb495953ee87b09c4f739e77 Mon Sep 17 00:00:00 2001 From: bbruns Date: Fri, 20 Aug 2010 19:24:40 +0000 Subject: [PATCH] New functions to simplify things... --- rc.firewall | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rc.firewall b/rc.firewall index ded9d8b..fc5a965 100755 --- a/rc.firewall +++ b/rc.firewall @@ -58,12 +58,14 @@ $IPTABLES -A INPUT -i lo -j ACCEPT $IPTABLES -A OUTPUT -o lo -j ACCEPT if [ -s "$BASEDIR/include/ipv4_custom_trust" ]; then - echo -e "\E[33mLoading custom trust rules...\E[37m" + display_c YELLOW "Loading custom trust rules..." Y + #echo -e "\E[33mLoading custom trust rules...\E[37m" . "$BASEDIR/include/ipv4_custom_trust" fi if [ "$TRUSTEDIP" ]; then - echo -ne "\E[33mAdding trusted IP:\E[37m " + display_c YELLOW "Adding trusted IP: " N + #echo -ne "\E[33mAdding trusted IP:\E[37m " for i in $TRUSTEDIP; do echo -n "$i " $IPTABLES -A INPUT -s $i -j ACCEPT