diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2009-11-02 18:32:04 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2009-11-02 18:32:04 -0800 |
commit | 16a9f19c9a595423187f67d4fc7f974520210083 (patch) | |
tree | aab9d3554f5aff56aa8e69891bc08148c23a058b /templates | |
parent | 0e287389b22cfe996a712ce75a53bf2d3bc7af7c (diff) | |
download | vyatta-cfg-quagga-16a9f19c9a595423187f67d4fc7f974520210083.tar.gz vyatta-cfg-quagga-16a9f19c9a595423187f67d4fc7f974520210083.zip |
Fix call the vyatta-cli-expand-var.pl.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/system/gateway-address/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system/gateway-address/node.def b/templates/system/gateway-address/node.def index ee4cbabc..6c2c61d2 100644 --- a/templates/system/gateway-address/node.def +++ b/templates/system/gateway-address/node.def @@ -2,7 +2,7 @@ priority: 400 type: ipv4 help: Set default gateway create: vyatta-vtysh -c "configure terminal" -c "ip route 0.0.0.0/0 $VAR(@)" -update: oldgw=`/opt/vyatta/sbin/vyatta-cli-expand-var.pl '$(/system/gateway-address/@)'` +update: oldgw=`/opt/vyatta/sbin/vyatta-cli-expand-var.pl \\$VAR\(/system/gateway-address/@\)` if [ -n "$oldgw" ]; then vyatta-vtysh --noerror -c "configure terminal" \ -c "no ip route 0.0.0.0/0 $oldgw" |