Fix silly bug in do_initialize() that breaks all commands but start/restart

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5877 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-09 17:57:33 +00:00
parent fbf73e1c34
commit d6972064f0

View File

@ -1804,17 +1804,19 @@ do_initialize() {
#
PKTTYPE=$(added_param_value_no PKTTYPE $PKTTYPE)
case "${SHOREWALL_COMPILER:=shell}" in
perl)
export CONFIG_PATH;
return;
;;
shell)
;;
*)
startup_error "Invalid value ($SHOREWALL_COMPILER) for SHOREWALL_COMPILER"
;;
esac
if [ $PROGRAM = compiler ]; then
case "${SHOREWALL_COMPILER:=shell}" in
perl)
export CONFIG_PATH;
return;
;;
shell)
;;
*)
startup_error "Invalid value ($SHOREWALL_COMPILER) for SHOREWALL_COMPILER"
;;
esac
fi
TMP_DIR=$(mktempdir)