summaryrefslogtreecommitdiff
path: root/templates/firewall
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-02-25 12:11:27 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-02-25 12:11:27 -0800
commit904604d014faa334de4700dee94674ac57a514a3 (patch)
treee01db2deb64484d62714044f23716ac76438114b /templates/firewall
parent9bcaf042a85c64cae228ab1fd6c328fea7417db7 (diff)
downloadvyatta-cfg-firewall-904604d014faa334de4700dee94674ac57a514a3.tar.gz
vyatta-cfg-firewall-904604d014faa334de4700dee94674ac57a514a3.zip
Revert "Make sure to quote $VAR(@)."
This reverts commit c5595b67948166f65c8ea2c1ce1890b9aa27fd3d.
Diffstat (limited to 'templates/firewall')
-rw-r--r--templates/firewall/ipv6-modify/node.def2
-rw-r--r--templates/firewall/ipv6-name/node.def2
-rw-r--r--templates/firewall/modify/node.def2
-rw-r--r--templates/firewall/name/node.def2
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/firewall/ipv6-modify/node.def b/templates/firewall/ipv6-modify/node.def
index c71c23d..d49d884 100644
--- a/templates/firewall/ipv6-modify/node.def
+++ b/templates/firewall/ipv6-modify/node.def
@@ -3,7 +3,7 @@ tag:
type: txt
syntax:expression: exec " \
- if [ `echo -n \"$VAR(@)\" | wc -c` -gt 29 ]; then \
+ if [ `echo -n $VAR(@) | wc -c` -gt 29 ]; then \
echo firewall ipv6-modify must be 29 characters or less; \
exit 1 ; \
fi ; "
diff --git a/templates/firewall/ipv6-name/node.def b/templates/firewall/ipv6-name/node.def
index e92c286..7a6dd1b 100644
--- a/templates/firewall/ipv6-name/node.def
+++ b/templates/firewall/ipv6-name/node.def
@@ -3,7 +3,7 @@ tag:
type: txt
syntax:expression: exec " \
- if [ `echo -n \"$VAR(@)\" | wc -c` -gt 29 ]; then \
+ if [ `echo -n $VAR(@) | wc -c` -gt 29 ]; then \
echo firewall ipv6-name must be 29 characters or less; \
exit 1 ; \
fi ; "
diff --git a/templates/firewall/modify/node.def b/templates/firewall/modify/node.def
index 14d8501..48a25f0 100644
--- a/templates/firewall/modify/node.def
+++ b/templates/firewall/modify/node.def
@@ -3,7 +3,7 @@ tag:
type: txt
syntax:expression: exec " \
- if [ `echo -n \"$VAR(@)\" | wc -c` -gt 29 ]; then \
+ if [ `echo -n $VAR(@) | wc -c` -gt 29 ]; then \
echo firewall modify must be 29 characters or less; \
exit 1 ; \
fi ; "
diff --git a/templates/firewall/name/node.def b/templates/firewall/name/node.def
index 5920c9b..71d4441 100644
--- a/templates/firewall/name/node.def
+++ b/templates/firewall/name/node.def
@@ -3,7 +3,7 @@ tag:
type: txt
syntax:expression: exec " \
- if [ `echo -n \"$VAR(@)\" | wc -c` -gt 29 ]; then \
+ if [ `echo -n $VAR(@) | wc -c` -gt 29 ]; then \
echo firewall name must be 29 characters or less; \
exit 1 ; \
fi ; "