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 +- .../node.tag/ip/ospf/authentication/plaintext-password/node.def | 2 +- .../node.tag/ip/rip/authentication/md5/node.tag/password/node.def | 2 +- .../ethernet/node.tag/ip/rip/authentication/plaintext-password/node.def | 2 +- .../ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def | 2 +- .../vif/node.tag/ip/ospf/authentication/plaintext-password/node.def | 2 +- .../vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def | 2 +- .../vif/node.tag/ip/rip/authentication/plaintext-password/node.def | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'templates/interfaces/ethernet') diff --git a/templates/interfaces/ethernet/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/ethernet/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index ae34bf58..e007b689 100644 --- a/templates/interfaces/ethernet/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/ethernet/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/ethernet/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/ethernet/node.tag/ip/ospf/authentication/plaintext-password/node.def index 023df27a..95215c89 100644 --- a/templates/interfaces/ethernet/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/ethernet/node.tag/ip/ospf/authentication/plaintext-password/node.def @@ -1,7 +1,7 @@ type: txt help: Configure 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/ethernet/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/ethernet/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index a91f80e5..bcebd5ab 100644 --- a/templates/interfaces/ethernet/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/ethernet/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/ethernet/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/ethernet/node.tag/ip/rip/authentication/plaintext-password/node.def index 27d72082..e21e5878 100644 --- a/templates/interfaces/ethernet/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/ethernet/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 ; " diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index fd7cc502..ef35f7da 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/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/ethernet/node.tag/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def index 39b4bf48..0f10b991 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/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/ethernet/node.tag/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index 67b4a60e..73aa92d2 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/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/ethernet/node.tag/vif/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/authentication/plaintext-password/node.def index bcf625c2..acf34ef9 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/authentication/plaintext-password/node.def @@ -1,7 +1,7 @@ type: txt help: 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