summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/zone-policy/zone/node.tag/from/node.tag/firewall/ipv6-name/node.def4
-rw-r--r--templates/zone-policy/zone/node.tag/from/node.tag/firewall/name/node.def4
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/zone-policy/zone/node.tag/from/node.tag/firewall/ipv6-name/node.def b/templates/zone-policy/zone/node.tag/from/node.tag/firewall/ipv6-name/node.def
index 1283f55c..e34cf8c4 100644
--- a/templates/zone-policy/zone/node.tag/from/node.tag/firewall/ipv6-name/node.def
+++ b/templates/zone-policy/zone/node.tag/from/node.tag/firewall/ipv6-name/node.def
@@ -7,7 +7,7 @@ allowed:
echo -n ${params[@]##*/}
create:
- params=( `ls /opt/vyatta/config/active/firewall/ipv6-name` )
+ params=( `ls /opt/vyatta/config/active/firewall/ipv6-name 2>/dev/null` )
array_len=${#params[*]}
i=0
found=0
@@ -31,7 +31,7 @@ create:
--ruleset-name="$VAR(@)"
update:
- params=( `ls /opt/vyatta/config/active/firewall/ipv6-name` )
+ params=( `ls /opt/vyatta/config/active/firewall/ipv6-name 2>/dev/null` )
array_len=${#params[*]}
i=0
found=0
diff --git a/templates/zone-policy/zone/node.tag/from/node.tag/firewall/name/node.def b/templates/zone-policy/zone/node.tag/from/node.tag/firewall/name/node.def
index 8fc557c5..20dd913e 100644
--- a/templates/zone-policy/zone/node.tag/from/node.tag/firewall/name/node.def
+++ b/templates/zone-policy/zone/node.tag/from/node.tag/firewall/name/node.def
@@ -7,7 +7,7 @@ allowed:
echo -n ${params[@]##*/}
create:
- params=( `ls /opt/vyatta/config/active/firewall/name` )
+ params=( `ls /opt/vyatta/config/active/firewall/name 2>/dev/null` )
array_len=${#params[*]}
i=0
found=0
@@ -31,7 +31,7 @@ create:
--ruleset-name="$VAR(@)"
update:
- params=( `ls /opt/vyatta/config/active/firewall/name` )
+ params=( `ls /opt/vyatta/config/active/firewall/name 2>/dev/null` )
array_len=${#params[*]}
i=0
found=0