Add lib.cli-user support to the -lite products

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2015-10-30 08:47:01 -07:00
parent 5a3589b9a6
commit 1848c3fa45

View File

@ -3496,9 +3496,12 @@ noiptrace_command() {
fi 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() { get_config() {
local config
local lib
ensure_config_path ensure_config_path
@ -3636,6 +3639,10 @@ get_config() {
g_loopback=$(find_loopback_interfaces) g_loopback=$(find_loopback_interfaces)
lib=$(find_file lib.cli-user)
[ -f $lib ] && . $lib
} }
# #