diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-24 20:39:04 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-24 20:39:04 -0800 |
commit | 66f7e4b555c01812cbe5f993bc112cec99743235 (patch) | |
tree | 6684d57e271a48c0774b30abc06c064d076e4ea3 /templates | |
parent | 559f526813bc388b23aa421d031a21198cf24fe1 (diff) | |
download | vyatta-cfg-quagga-66f7e4b555c01812cbe5f993bc112cec99743235.tar.gz vyatta-cfg-quagga-66f7e4b555c01812cbe5f993bc112cec99743235.zip |
Make sure to quote $VAR(@) usage.
Diffstat (limited to 'templates')
64 files changed, 64 insertions, 64 deletions
diff --git a/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index ef35f7da..fd7cc502 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/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/adsl/node.tag/pvc/node.tag/bridged-ethernet/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/ip/ospf/authentication/plaintext-password/node.def index dd144cde..62e12cc4 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/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/adsl/node.tag/pvc/node.tag/bridged-ethernet/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/ip/rip/authentication/md5/node.tag/password/node.def index adc85c83..e46a09db 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/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/adsl/node.tag/pvc/node.tag/bridged-ethernet/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/ip/rip/authentication/plaintext-password/node.def index f03902d9..8679567a 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/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/adsl/node.tag/pvc/node.tag/classical-ipoa/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index ef35f7da..fd7cc502 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/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/adsl/node.tag/pvc/node.tag/classical-ipoa/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/ip/ospf/authentication/plaintext-password/node.def index dd144cde..62e12cc4 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/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/adsl/node.tag/pvc/node.tag/classical-ipoa/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/ip/rip/authentication/md5/node.tag/password/node.def index adc85c83..e46a09db 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/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/adsl/node.tag/pvc/node.tag/classical-ipoa/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/ip/rip/authentication/plaintext-password/node.def index f03902d9..8679567a 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/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/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index ef35f7da..fd7cc502 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/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/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/ospf/authentication/plaintext-password/node.def index eea8c1fd..1719f6a1 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/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/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index 4d9dfe43..57a922e4 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/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/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/rip/authentication/plaintext-password/node.def index 7232ba56..dff75b53 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/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/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index ef35f7da..fd7cc502 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/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/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/ospf/authentication/plaintext-password/node.def index f8432137..277394ab 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/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/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index c7b1cfe5..9a52a66d 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/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/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/rip/authentication/plaintext-password/node.def index 9d147205..3f84f606 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/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/bonding/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/bonding/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index e007b689..ae34bf58 100644 --- a/templates/interfaces/bonding/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/bonding/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/bonding/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/bonding/node.tag/ip/ospf/authentication/plaintext-password/node.def index 95215c89..023df27a 100644 --- a/templates/interfaces/bonding/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/bonding/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/bonding/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/bonding/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index bcebd5ab..a91f80e5 100644 --- a/templates/interfaces/bonding/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/bonding/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/bonding/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/bonding/node.tag/ip/rip/authentication/plaintext-password/node.def index e21e5878..27d72082 100644 --- a/templates/interfaces/bonding/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/bonding/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/bonding/node.tag/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index ef35f7da..fd7cc502 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/bonding/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/bonding/node.tag/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def index 0f10b991..39b4bf48 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/bonding/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/bonding/node.tag/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index 73aa92d2..67b4a60e 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/bonding/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/bonding/node.tag/vif/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/ip/rip/authentication/plaintext-password/node.def index acf34ef9..bcf625c2 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/bonding/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 ; " diff --git a/templates/interfaces/bonding/node.tag/vif/node.tag/pppoe/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/pppoe/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index ef35f7da..fd7cc502 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.tag/pppoe/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/bonding/node.tag/vif/node.tag/pppoe/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/bonding/node.tag/vif/node.tag/pppoe/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/pppoe/node.tag/ip/ospf/authentication/plaintext-password/node.def index f8432137..277394ab 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.tag/pppoe/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/bonding/node.tag/vif/node.tag/pppoe/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/bonding/node.tag/vif/node.tag/pppoe/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/pppoe/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index c7b1cfe5..9a52a66d 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.tag/pppoe/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/bonding/node.tag/vif/node.tag/pppoe/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/bonding/node.tag/vif/node.tag/pppoe/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/pppoe/node.tag/ip/rip/authentication/plaintext-password/node.def index 9d147205..3f84f606 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.tag/pppoe/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/bonding/node.tag/vif/node.tag/pppoe/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/bridge/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/bridge/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index e007b689..ae34bf58 100644 --- a/templates/interfaces/bridge/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/bridge/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/bridge/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/bridge/node.tag/ip/ospf/authentication/plaintext-password/node.def index 95215c89..023df27a 100644 --- a/templates/interfaces/bridge/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/bridge/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/bridge/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/bridge/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index bcebd5ab..a91f80e5 100644 --- a/templates/interfaces/bridge/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/bridge/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/bridge/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/bridge/node.tag/ip/rip/authentication/plaintext-password/node.def index e21e5878..27d72082 100644 --- a/templates/interfaces/bridge/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/bridge/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/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 e007b689..ae34bf58 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 95215c89..023df27a 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 bcebd5ab..a91f80e5 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 e21e5878..27d72082 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 ef35f7da..fd7cc502 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 0f10b991..39b4bf48 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 73aa92d2..67b4a60e 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 acf34ef9..bcf625c2 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 ; " diff --git a/templates/interfaces/loopback/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/loopback/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index ef35f7da..fd7cc502 100644 --- a/templates/interfaces/loopback/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/loopback/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/loopback/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/loopback/node.tag/ip/ospf/authentication/plaintext-password/node.def index e97a3ec8..f747c985 100644 --- a/templates/interfaces/loopback/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/loopback/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/loopback/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/loopback/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index bcebd5ab..a91f80e5 100644 --- a/templates/interfaces/loopback/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/loopback/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/loopback/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/loopback/node.tag/ip/rip/authentication/plaintext-password/node.def index cdc9e54b..82ec4432 100644 --- a/templates/interfaces/loopback/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/loopback/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 ; " diff --git a/templates/interfaces/multilink/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/multilink/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index ef35f7da..fd7cc502 100644 --- a/templates/interfaces/multilink/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/multilink/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/multilink/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/multilink/node.tag/ip/ospf/authentication/plaintext-password/node.def index 034bc793..c699048a 100644 --- a/templates/interfaces/multilink/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/multilink/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/multilink/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/multilink/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index bcebd5ab..a91f80e5 100644 --- a/templates/interfaces/multilink/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/multilink/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/multilink/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/multilink/node.tag/ip/rip/authentication/plaintext-password/node.def index efd87425..609cb80d 100644 --- a/templates/interfaces/multilink/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/multilink/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/serial/node.tag/cisco-hdlc/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index ef35f7da..fd7cc502 100644 --- a/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/serial/node.tag/cisco-hdlc/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/serial/node.tag/cisco-hdlc/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def index 220fff21..eea75bc1 100644 --- a/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/serial/node.tag/cisco-hdlc/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/serial/node.tag/cisco-hdlc/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index d55ddbab..31a8dd3b 100644 --- a/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/serial/node.tag/cisco-hdlc/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/serial/node.tag/cisco-hdlc/vif/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/ip/rip/authentication/plaintext-password/node.def index 603e66b9..398134e9 100644 --- a/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/serial/node.tag/cisco-hdlc/vif/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/serial/node.tag/frame-relay/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index ef35f7da..fd7cc502 100644 --- a/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/serial/node.tag/frame-relay/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/serial/node.tag/frame-relay/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def index 220fff21..eea75bc1 100644 --- a/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/serial/node.tag/frame-relay/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/serial/node.tag/frame-relay/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index d55ddbab..31a8dd3b 100644 --- a/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/serial/node.tag/frame-relay/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/serial/node.tag/frame-relay/vif/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/ip/rip/authentication/plaintext-password/node.def index 2362bcae..83c86eaa 100644 --- a/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/serial/node.tag/frame-relay/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 ; " diff --git a/templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def index ef35f7da..fd7cc502 100644 --- a/templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def +++ b/templates/interfaces/serial/node.tag/ppp/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/serial/node.tag/ppp/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def index 220fff21..eea75bc1 100644 --- a/templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/ospf/authentication/plaintext-password/node.def +++ b/templates/interfaces/serial/node.tag/ppp/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/serial/node.tag/ppp/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def index d55ddbab..31a8dd3b 100644 --- a/templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/rip/authentication/md5/node.tag/password/node.def +++ b/templates/interfaces/serial/node.tag/ppp/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/serial/node.tag/ppp/vif/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/rip/authentication/plaintext-password/node.def index 5f9c34cd..7ddfadb5 100644 --- a/templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/rip/authentication/plaintext-password/node.def +++ b/templates/interfaces/serial/node.tag/ppp/vif/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/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 ef35f7da..fd7cc502 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 034bc793..c699048a 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 bcebd5ab..a91f80e5 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 36a3926c..85f43c6b 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 ; " |