Re-add dynamic zone capability -- Take 2

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3265 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-01-11 23:42:06 +00:00
parent 248b26a7d8
commit 160e7432e0
2 changed files with 3 additions and 1 deletions

View File

@ -9246,7 +9246,7 @@ add_to_zone() # $1...${n-1} = <interface>[:<hosts>] $n = zone
# #
# Validate IPSec File # Validate IPSec File
# #
f=$(find_file ipsec) f=$(find_file $IPSECFILE)
[ -f $f ] && setup_ipsec $f [ -f $f ] && setup_ipsec $f
# #

View File

@ -504,10 +504,12 @@ usage() # $1 = exit status
{ {
echo "Usage: $(basename $0) [debug|trace] [nolock] [ -x ] [ -q ] [ -f ] [ -v ] [ -n ] <command>" echo "Usage: $(basename $0) [debug|trace] [nolock] [ -x ] [ -q ] [ -f ] [ -v ] [ -n ] <command>"
echo "where <command> is one of:" echo "where <command> is one of:"
echo " add <interface>[:<host-list>] ... <zone>"
echo " allow <address> ..." echo " allow <address> ..."
echo " check [ <directory> ]" echo " check [ <directory> ]"
echo " clear" echo " clear"
echo " compile [ <directory name> ] <file name>" echo " compile [ <directory name> ] <file name>"
echo " delete <interface>[:<host-list>] ... <zone>"
echo " drop <address> ..." echo " drop <address> ..."
echo " dump" echo " dump"
echo " forget [ <file name> ]" echo " forget [ <file name> ]"