Simplify getparams

This commit is contained in:
Tom Eastep 2010-11-17 17:26:41 -08:00
parent 5e1c8f8d2a
commit 63fd81f9ec

View File

@ -24,14 +24,6 @@
. /usr/share/shorewall/lib.base . /usr/share/shorewall/lib.base
. /usr/share/shorewall/lib.cli . /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" CONFIG_PATH="$2"
set -a set -a