Pretty up the message when detect is specified

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4170 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep
2006-06-26 23:10:34 +00:00
parent 0c8f630b85
commit dcefe79ca7
2 changed files with 35 additions and 1 deletions

View File

@@ -26,7 +26,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA
LIBVERSION=30191
LIBVERSION=30192
[ -n "${VARDIR:=/var/lib/shorewall}" ]
[ -n "${SHAREDIR:=/usr/share/shorewall}" ]
@@ -365,6 +365,20 @@ separate_list() {
echo "$newlist"
}
#
# Undo the effect of 'separate_list()'
#
combine_list()
{
local f o=
for f in $* ; do
o="${o:+$o,}$f"
done
echo $o
}
#
# Load a Kernel Module
#