diff --git a/Shorewall/shorewall b/Shorewall/shorewall index e63278858..b83e1631a 100755 --- a/Shorewall/shorewall +++ b/Shorewall/shorewall @@ -39,6 +39,8 @@ get_config() { ensure_config_path if [ "$1" = Yes ]; then + [ -n "${IP:=ip}" ] + params=$(find_file params) if [ -f $params ]; then diff --git a/Shorewall6/shorewall6 b/Shorewall6/shorewall6 index 65ab1d6ee..075b61ddb 100755 --- a/Shorewall6/shorewall6 +++ b/Shorewall6/shorewall6 @@ -39,6 +39,8 @@ get_config() { ensure_config_path if [ "$1" = Yes ]; then + [ -n "${IP:=ip}" ] + params=$(find_file params) if [ -f $params ]; then