From aef84305b4c45f1604cea6e92ab7fcad741c383e Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 4 Jun 2005 21:04:48 +0000 Subject: [PATCH] Make shell variables work in the zones file git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2225 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall2/functions | 1 + 1 file changed, 1 insertion(+) diff --git a/Shorewall2/functions b/Shorewall2/functions index 74391002c..738dae7c2 100755 --- a/Shorewall2/functions +++ b/Shorewall2/functions @@ -268,6 +268,7 @@ reload_kernel_modules() { find_zones() # $1 = name of the zone file { while read zone display comments; do + expandv zone display [ -n "$zone" ] && case "$zone" in [0-9*]) echo " Warning: Illegal zone name \"$zone\" in zones file ignored" 2>&2