From 63fd81f9ec5fa7ceac76a4951f35c542017efcb1 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 17 Nov 2010 17:26:41 -0800 Subject: [PATCH] Simplify getparams --- Shorewall/Perl/getparams | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Shorewall/Perl/getparams b/Shorewall/Perl/getparams index d55e6de21..65b8ac69c 100755 --- a/Shorewall/Perl/getparams +++ b/Shorewall/Perl/getparams @@ -24,14 +24,6 @@ . /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