From eb533d8b00058b7f45ffdcc33cdde04f537c5581 Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 7 Apr 2009 03:22:02 +0000 Subject: [PATCH] Make SHOREWALL_COMPILER=perl explicit in shorewall.conf Send SHOREWALL_COMPILER errors to STDERR Signed-off-by: Tom Eastep git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9822 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/configfiles/shorewall.conf | 3 +-- Shorewall/shorewall | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Shorewall/configfiles/shorewall.conf b/Shorewall/configfiles/shorewall.conf index cefe3d798..70ca42791 100644 --- a/Shorewall/configfiles/shorewall.conf +++ b/Shorewall/configfiles/shorewall.conf @@ -28,10 +28,9 @@ VERBOSITY=1 ############################################################################### # C O M P I L E R -# (setting this to 'perl' requires installation of Shorewall-perl) ############################################################################### -SHOREWALL_COMPILER= +SHOREWALL_COMPILER=perl ############################################################################### # L O G G I N G diff --git a/Shorewall/shorewall b/Shorewall/shorewall index 28cc7c1e9..80c6b82c9 100755 --- a/Shorewall/shorewall +++ b/Shorewall/shorewall @@ -216,11 +216,11 @@ get_config() { perl|Perl) ;; shell|Shell) - echo " ERROR: SHOREWALL_COMPILER=shell is no longer supported" + echo " ERROR: SHOREWALL_COMPILER=shell is no longer supported" >&2 exit 2 ;; *) - echo " ERROR: Invalid value ($SHOREWALL_COMPILER) for SHOREWALL_COMPILER" + echo " ERROR: Invalid value ($SHOREWALL_COMPILER) for SHOREWALL_COMPILER" >&2 exit 2 ;; esac