Diff for scripts/shell/firewall/fw-universal.sh between version 2.74 and 2.75
version 2.74, 2010/08/08 23:34:25 |
version 2.75, 2010/10/22 12:20:42 |
|
|
# 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.73 2010-06-21 21:52:16 nepto Exp $ |
# $Platon: scripts/shell/firewall/fw-universal.sh,v 2.74 2010-08-08 23:34:25 nepto Exp $ |
# |
# |
# Changelog: |
# Changelog: |
# 2003-10-24 - created |
# 2003-10-24 - created |
|
|
if [ -z "${!varname}" ]; then |
if [ -z "${!varname}" ]; then |
break; |
break; |
fi |
fi |
echo -n "#$i"; |
print_info -n "#$i"; |
$IPTABLES ${!varname}; |
$IPTABLES ${!varname}; |
rc="$?"; |
rc="$?"; |
if [ "$rc" -eq 0 ]; then |
if [ "$rc" -eq 0 ]; then |
echo -n "[OK] "; |
print_info -n "[OK] "; |
else |
else |
echo -n "[rc:$?] "; |
print_info -n "[rc:$?] "; |
fi; |
fi; |
initialized="yes"; |
initialized="yes"; |
done |
done |
Platon Group <platon@platon.org> http://platon.org/
|
|