=================================================================== RCS file: /home/cvsd/home/cvs/scripts/shell/firewall/fw-universal.sh,v retrieving revision 2.62 retrieving revision 2.63 diff -u -p -r2.62 -r2.63 --- scripts/shell/firewall/fw-universal.sh 2009/01/17 01:31:26 2.62 +++ scripts/shell/firewall/fw-universal.sh 2009/01/17 01:37:08 2.63 @@ -9,7 +9,7 @@ # Licensed under terms of GNU General Public License. # All rights reserved. # -# $Platon: scripts/shell/firewall/fw-universal.sh,v 2.61 2009-01-17 01:16:43 rajo Exp $ +# $Platon: scripts/shell/firewall/fw-universal.sh,v 2.62 2009-01-17 01:31:26 rajo Exp $ # # Changelog: # 2003-10-24 - created @@ -108,11 +108,11 @@ ACCEPT_ICMP_PACKETS="${ACCEPT_ICMP_PACKE # check if all required tools are installed check_tools() { # {{{ - [ -x $AWK ] || echo "AWK not found: please install gawk" && exit 1; - [ -x $PERL ] || echo "PERL not found: please install perl" && exit 1; - [ -x $IPTABLES ] || echo "IPTABLES not found: please install iptables" && exit 1; - [ -x $IPTABLES_SAVE ] || echo "IPTABLES_SAVE not found: please install iptables" && exit 1; - [ -x $IPTABLES_RESTORE ] || echo "IPTABLES_RESTORE not found: please install iptables" && exit 1; + [ -x $AWK ] || (echo "AWK not found: please install gawk" && exit 1); + [ -x $PERL ] || (echo "PERL not found: please install perl" && exit 1); + [ -x $IPTABLES ] || (echo "IPTABLES not found: please install iptables" && exit 1); + [ -x $IPTABLES_SAVE ] || (echo "IPTABLES_SAVE not found: please install iptables" && exit 1); + [ -x $IPTABLES_RESTORE ] || (echo "IPTABLES_RESTORE not found: please install iptables" && exit 1); } # }}} print_first()