Make SHOREWALL_COMPILER=perl explicit in shorewall.conf

Send SHOREWALL_COMPILER errors to STDERR

Signed-off-by: Tom Eastep <teastep@shorewall.net>

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9822 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2009-04-07 03:22:02 +00:00
parent 010680d207
commit eb533d8b00
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -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