On 11/17/10 2:06 PM, Steven Jan Springl wrote:
> On Wednesday 17 November 2010 21:59:54 Tom Eastep wrote:
>> On 11/17/10 1:07 PM, Steven Jan Springl wrote:
>>> Tom
>>>
>>> Issuing 'shorewall start' produces the following messages:
>>>
>>> Processing /etc/shorewall/params ...
>>> /usr/share/shorewall//getparams: eval: line 32: unexpected EOF while
>>> looking for matching `"'
>>> /usr/share/shorewall//getparams: eval: line 33: syntax error: unexpected
>>> end of file
>>>
>>> A copy of my params file is attached.
>>
>> What does the output of 'env' look like before you try to start?
>>
>> -Tom
> 
> Tom 
> 
> The output from 'env' is attached.

Please try the attached copy of getparams.

Thanks,
-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________
#!/bin/sh
#
#     The Shoreline Firewall Packet Filtering Firewall Param File Helper - V4.4
#
#     This program is under GPL 
[http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt]
#
#     (c) 2010 - Tom Eastep ([email protected])
#
#       Complete documentation is available at http://shorewall.net
#
#       This program is free software; you can redistribute it and/or modify
#       it under the terms of Version 2 of the GNU General Public License
#       as published by the Free Software Foundation.
#
#       This program is distributed in the hope that it will be useful,
#       but WITHOUT ANY WARRANTY; without even the implied warranty of
#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#       GNU General Public License for more details.
#
#       You should have received a copy of the GNU General Public License
#       along with this program; if not, write to the Free Software
#       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 
02110-1301 USA.

. /usr/share/shorewall/lib.base
. /usr/share/shorewall/lib.cli

exported=$(env | sed 's/=.*//');

for v in $exported; do
    eval t=\"\$$v\"
    eval unset $v
    eval $v=\'$t\'
done

CONFIG_PATH="$2"

set -a

. $1 >/dev/null # Avoid spurious output

set +a

env

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to