forked from extern/shorewall_code
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"
|
||||
fi
|
||||
|
||||
g_export=Yes
|
||||
|
||||
if [ -f $g_shorewalldir/${PRODUCT}.conf ]; then
|
||||
if [ -f $g_shorewalldir/params ]; then
|
||||
. $g_shorewalldir/params
|
||||
@ -1579,8 +1581,6 @@ remote_reload_command() # $* = original arguments less the command.
|
||||
|
||||
file=$(resolve_file $g_shorewalldir/firewall)
|
||||
|
||||
g_export=Yes
|
||||
|
||||
program=$sbindir/${PRODUCT}-lite
|
||||
#
|
||||
# Handle nonstandard remote VARDIR
|
||||
|
Loading…
Reference in New Issue
Block a user