mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-24 00:23:28 +01:00
Simplify getparams
This commit is contained in:
parent
5e1c8f8d2a
commit
63fd81f9ec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user