mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-19 05:01:47 +02:00
Export *DIR variables
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
@@ -1208,6 +1208,10 @@ run_it() {
|
||||
local options
|
||||
local version
|
||||
|
||||
export CONFDIR
|
||||
export SHAREDIR
|
||||
export VARDIR
|
||||
|
||||
script=$1
|
||||
shift
|
||||
|
||||
@@ -1233,7 +1237,7 @@ run_it() {
|
||||
fi
|
||||
else
|
||||
#
|
||||
# 4.4.8 or later -- no exports required
|
||||
# 4.4.8 or later -- no additional exports required
|
||||
#
|
||||
options='-'
|
||||
|
||||
@@ -1246,7 +1250,7 @@ run_it() {
|
||||
|
||||
[ -n "$RESTOREFILE" ] && options="${options} -R $RESTOREFILE"
|
||||
fi
|
||||
|
||||
|
||||
$SHOREWALL_SHELL $script $options $@
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user