Move display_list() to lib.base

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4519 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-09-04 18:28:23 +00:00
parent a53dd9bc49
commit 8f4664cc3b
3 changed files with 8 additions and 16 deletions

View File

@ -3078,14 +3078,6 @@ process_tos() # $1 = name of tos file
fi
}
#
# Display elements of a list with leading white space
#
display_list() # $1 = List Title, rest of $* = list to display
{
[ $# -gt 1 ] && echo " $*"
}
policy_rules() # $1 = chain to add rules to
# $2 = policy
# $3 = loglevel

View File

@ -503,14 +503,6 @@ delete_nat() {
[ -d ${VARDIR} ] && touch ${VARDIR}/nat
}
#
# Display elements of a list with leading white space
#
display_list() # $1 = List Title, rest of $* = list to display
{
[ $# -gt 1 ] && echo " $*"
}
#
# Verify that kernel has netfilter support
#

View File

@ -374,6 +374,14 @@ combine_list()
echo $o
}
#
# Display elements of a list with leading white space
#
display_list() # $1 = List Title, rest of $* = list to display
{
[ $# -gt 1 ] && echo " $*"
}
#
# Determine if a chain is a policy chain
#