From 57cbd2262851002955809a2b423ea0587e4b4d55 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Wed, 25 Feb 2009 12:13:22 -0800 Subject: Revert "Make sure to quote $VAR(@) usage." This reverts commit 66f7e4b555c01812cbe5f993bc112cec99743235. --- .../ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def | 2 +- .../tunnel/node.tag/ip/ospf/authentication/plaintext-password/node.def | 2 +- .../node.tag/ip/rip/authentication/md5/node.tag/password/node.def | 2 +- .../tunnel/node.tag/ip/rip/authentication/plaintext-password/node.def | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'templates/interfaces/tunnel') diff --git a/templates/interfaces/tunnel/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/tunnel/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index fd7cc502..ef35f7da 100644 --- a/templates/interfaces/tunnel/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/tunnel/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def @@ -1,7 +1,7 @@ type: txt help: Set MD5 key syntax:expression: exec " \ - if [ `echo -n \"$VAR(@)\" | wc -c` -gt 16 ]; then \ + if [ `echo -n $VAR(@) | wc -c` -gt 16 ]; then \ echo MD5 key must be 16 characters or less ; \ exit 1 ; \ fi ; " diff --git a/templates/interfaces/tunnel/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/tunnel/node.tag/ip/ospf/authentication/plaintext-password/node.def index c699048a..034bc793 100644 --- a/templates/interfaces/tunnel/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/tunnel/node.tag/ip/ospf/authentication/plaintext-password/node.def @@ -1,7 +1,7 @@ type: txt help: Set plain text password syntax:expression: exec " \ - if [ `echo -n \"$VAR(@)\" | wc -c` -gt 8 ]; then \ + if [ `echo -n $VAR(@) | wc -c` -gt 8 ]; then \ echo Password must be 8 characters or less ; \ exit 1 ; \ fi ; " diff --git a/templates/interfaces/tunnel/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/tunnel/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index a91f80e5..bcebd5ab 100644 --- a/templates/interfaces/tunnel/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/tunnel/node.tag/ip/rip/authentication/md5/node.tag/password/node.def @@ -1,7 +1,7 @@ type: txt help: Set authentication password syntax:expression: exec " \ - if [ `echo -n \"$VAR(@)\" | wc -c` -gt 16 ]; then \ + if [ `echo -n $VAR(@) | wc -c` -gt 16 ]; then \ echo MD5 key must be 16 characters or less ; \ exit 1 ; \ fi ; " diff --git a/templates/interfaces/tunnel/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/tunnel/node.tag/ip/rip/authentication/plaintext-password/node.def index 85f43c6b..36a3926c 100644 --- a/templates/interfaces/tunnel/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/tunnel/node.tag/ip/rip/authentication/plaintext-password/node.def @@ -1,7 +1,7 @@ type: txt help: Set plain text password syntax:expression: exec " \ - if [ `echo -n \"$VAR(@)\" | wc -c` -gt 16 ]; then \ + if [ `echo -n $VAR(@) | wc -c` -gt 16 ]; then \ echo Password must be 16 characters or less ; \ exit 1 ; \ fi ; " -- cgit v1.2.3