mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-12 08:38:14 +01:00
Allow find_first_interface_address[_if_any] to work properly in the params file.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
b821bdcdfd
commit
232fc21fe2
@ -39,6 +39,8 @@ get_config() {
|
|||||||
ensure_config_path
|
ensure_config_path
|
||||||
|
|
||||||
if [ "$1" = Yes ]; then
|
if [ "$1" = Yes ]; then
|
||||||
|
[ -n "${IP:=ip}" ]
|
||||||
|
|
||||||
params=$(find_file params)
|
params=$(find_file params)
|
||||||
|
|
||||||
if [ -f $params ]; then
|
if [ -f $params ]; then
|
||||||
|
@ -39,6 +39,8 @@ get_config() {
|
|||||||
ensure_config_path
|
ensure_config_path
|
||||||
|
|
||||||
if [ "$1" = Yes ]; then
|
if [ "$1" = Yes ]; then
|
||||||
|
[ -n "${IP:=ip}" ]
|
||||||
|
|
||||||
params=$(find_file params)
|
params=$(find_file params)
|
||||||
|
|
||||||
if [ -f $params ]; then
|
if [ -f $params ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user