mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-27 05:01:37 +02:00
Set g_export before calling get_config()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
89d6009200
commit
d22210c074
@ -1540,6 +1540,8 @@ remote_reload_command() # $* = original arguments less the command.
|
|||||||
litedir="${VARDIR}-lite"
|
litedir="${VARDIR}-lite"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
g_export=Yes
|
||||||
|
|
||||||
if [ -f $g_shorewalldir/${PRODUCT}.conf ]; then
|
if [ -f $g_shorewalldir/${PRODUCT}.conf ]; then
|
||||||
if [ -f $g_shorewalldir/params ]; then
|
if [ -f $g_shorewalldir/params ]; then
|
||||||
. $g_shorewalldir/params
|
. $g_shorewalldir/params
|
||||||
@ -1579,8 +1581,6 @@ remote_reload_command() # $* = original arguments less the command.
|
|||||||
|
|
||||||
file=$(resolve_file $g_shorewalldir/firewall)
|
file=$(resolve_file $g_shorewalldir/firewall)
|
||||||
|
|
||||||
g_export=Yes
|
|
||||||
|
|
||||||
program=$sbindir/${PRODUCT}-lite
|
program=$sbindir/${PRODUCT}-lite
|
||||||
#
|
#
|
||||||
# Handle nonstandard remote VARDIR
|
# Handle nonstandard remote VARDIR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user