forked from extern/shorewall_code
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
b9c303cf92
commit
cc561c0b61
@ -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