Rozdiely pre scripts/shell/firewall/fw-universal.sh medzi verziami 2.62 a 2.63
verzia 2.62, 2009/01/17 01:31:26 |
verzia 2.63, 2009/01/17 01:37:08 |
|
|
# Licensed under terms of GNU General Public License. |
# Licensed under terms of GNU General Public License. |
# All rights reserved. |
# 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: |
# Changelog: |
# 2003-10-24 - created |
# 2003-10-24 - created |
Riadok 108 ACCEPT_ICMP_PACKETS="${ACCEPT_ICMP_PACKE |
|
Riadok 108 ACCEPT_ICMP_PACKETS="${ACCEPT_ICMP_PACKE |
|
# check if all required tools are installed |
# check if all required tools are installed |
check_tools() |
check_tools() |
{ # {{{ |
{ # {{{ |
[ -x $AWK ] || echo "AWK not found: please install gawk" && 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 $PERL ] || (echo "PERL not found: please install perl" && exit 1); |
[ -x $IPTABLES ] || echo "IPTABLES not found: please install iptables" && 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_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 $IPTABLES_RESTORE ] || (echo "IPTABLES_RESTORE not found: please install iptables" && exit 1); |
} # }}} |
} # }}} |
|
|
print_first() |
print_first() |
Platon Group <platon@platon.sk> http://platon.sk/
|
|