Steven Jan Springl wrote:
> On Friday 07 December 2007 00:26, Tom Eastep wrote:
>> Shorewall 4.1.2 is now available for testing.
> 
> Tom
> 
> shorewall.conf entry:
> 
> STARTUP_LOG=/var/log/sjs
> 
> produces the following error:
> 
> /sbin/shorewall: line 241: =2: command not found
> 

Steven,

The error occurs only when STARTUP_LOG is specified without LOG_VERBOSITY.

Patch attached.

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key
Index: shorewall
===================================================================
--- shorewall	(revision 7831)
+++ shorewall	(working copy)
@@ -230,7 +230,6 @@
 		    -1)
 			;;
 		    0|1|2)
-			[ -n "$STARTUP_LOG" ] || $LOG_VERBOSITY=-1;
 			;;
 		    *)
 		        echo "  ERROR: Invalid LOG_VERBOSITY ($LOG_VERBOSITY)" >&2
@@ -238,7 +237,7 @@
 			;;
 		esac
 	    else
-		$LOG_VERBOSITY=2;
+		LOG_VERBOSITY=2;
 	    fi
 	else
 	    LOG_VERBOSITY=-1;

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to