mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
Add lib.cli-user support to the -lite products
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
5a3589b9a6
commit
1848c3fa45
@ -3496,9 +3496,12 @@ noiptrace_command() {
|
||||
fi
|
||||
}
|
||||
#
|
||||
# Set the configuration variables from shorewall-lite.conf
|
||||
# Set the configuration variables from shorewall[6]-lite.conf.
|
||||
# This function is overloaded by lib.cli-std in the full products
|
||||
#
|
||||
get_config() {
|
||||
local config
|
||||
local lib
|
||||
|
||||
ensure_config_path
|
||||
|
||||
@ -3636,6 +3639,10 @@ get_config() {
|
||||
|
||||
g_loopback=$(find_loopback_interfaces)
|
||||
|
||||
lib=$(find_file lib.cli-user)
|
||||
|
||||
[ -f $lib ] && . $lib
|
||||
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user