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:
Tom Eastep 2010-04-23 11:54:36 -07:00
parent b9c303cf92
commit cc561c0b61
2 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,8 @@ get_config() {
ensure_config_path
if [ "$1" = Yes ]; then
[ -n "${IP:=ip}" ]
params=$(find_file params)
if [ -f $params ]; then

View File

@ -39,6 +39,8 @@ get_config() {
ensure_config_path
if [ "$1" = Yes ]; then
[ -n "${IP:=ip}" ]
params=$(find_file params)
if [ -f $params ]; then