Changed two:

tr [a-z] [A-Z]

to:

tr a-z A-Z

because a few versions of tr complain with the first format.
This commit is contained in:
ktsaou 2004-04-23 07:36:12 +00:00
parent dbc8640448
commit 2a0fccd597

@ -10,7 +10,7 @@
#
# config: /etc/firehol/firehol.conf
#
# $Id: firehol.sh,v 1.189 2004/04/23 07:32:01 ktsaou Exp $
# $Id: firehol.sh,v 1.190 2004/04/23 07:36:12 ktsaou Exp $
#
# Remember who you are.
@ -1996,13 +1996,13 @@ check_kernel_module() {
;;
ip_conntrack_*)
local mnam="CONFIG_IP_NF_`echo ${mod} | ${CUT_CMD} -d '_' -f 3- | ${TR_CMD} [a-z] [A-Z]`"
local mnam="CONFIG_IP_NF_`echo ${mod} | ${CUT_CMD} -d '_' -f 3- | ${TR_CMD} a-z A-Z`"
check_kernel_config ${mnam}
return $?
;;
ip_nat_*)
local mnam="CONFIG_IP_NF_NAT_`echo ${mod} | ${CUT_CMD} -d '_' -f 3- | ${TR_CMD} [a-z] [A-Z]`"
local mnam="CONFIG_IP_NF_NAT_`echo ${mod} | ${CUT_CMD} -d '_' -f 3- | ${TR_CMD} a-z A-Z`"
check_kernel_config ${mnam}
return $?
;;
@ -4101,7 +4101,7 @@ case "${arg}" in
else
${CAT_CMD} <<EOF
$Id: firehol.sh,v 1.189 2004/04/23 07:32:01 ktsaou Exp $
$Id: firehol.sh,v 1.190 2004/04/23 07:36:12 ktsaou Exp $
(C) Copyright 2003, Costa Tsaousis <costa@tsaousis.gr>
FireHOL is distributed under GPL.
@ -4287,7 +4287,7 @@ then
${CAT_CMD} <<EOF
$Id: firehol.sh,v 1.189 2004/04/23 07:32:01 ktsaou Exp $
$Id: firehol.sh,v 1.190 2004/04/23 07:36:12 ktsaou Exp $
(C) Copyright 2003, Costa Tsaousis <costa@tsaousis.gr>
FireHOL is distributed under GPL.
Home Page: http://firehol.sourceforge.net
@ -4581,7 +4581,7 @@ then
${CAT_CMD} >&2 <<EOF
$Id: firehol.sh,v 1.189 2004/04/23 07:32:01 ktsaou Exp $
$Id: firehol.sh,v 1.190 2004/04/23 07:36:12 ktsaou Exp $
(C) Copyright 2003, Costa Tsaousis <costa@tsaousis.gr>
FireHOL is distributed under GPL.
Home Page: http://firehol.sourceforge.net
@ -4664,7 +4664,7 @@ EOF
echo "# "
${CAT_CMD} <<EOF
# $Id: firehol.sh,v 1.189 2004/04/23 07:32:01 ktsaou Exp $
# $Id: firehol.sh,v 1.190 2004/04/23 07:36:12 ktsaou Exp $
# (C) Copyright 2003, Costa Tsaousis <costa@tsaousis.gr>
# FireHOL is distributed under GPL.
# Home Page: http://firehol.sourceforge.net