diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-12 16:57:06 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-12 16:57:06 -0700 |
commit | 611c595e57ae3df51d1aa17767c34c38eb844a98 (patch) | |
tree | a8511ba384c55ba4b1243dc89adfee09eb7de882 /templates/system/gateway-address/node.def | |
parent | 0f9b2c25c1f65702eff4baf6063e45b7ba3a0fa1 (diff) | |
download | vyatta-cfg-quagga-611c595e57ae3df51d1aa17767c34c38eb844a98.tar.gz vyatta-cfg-quagga-611c595e57ae3df51d1aa17767c34c38eb844a98.zip |
Syntax error in gateway-address template
Missing fi.
Diffstat (limited to 'templates/system/gateway-address/node.def')
-rw-r--r-- | templates/system/gateway-address/node.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/system/gateway-address/node.def b/templates/system/gateway-address/node.def index f41a5212..e5764c0c 100644 --- a/templates/system/gateway-address/node.def +++ b/templates/system/gateway-address/node.def @@ -5,7 +5,8 @@ update: oldgw=`/opt/vyatta/sbin/vyatta-cli-expand-var.pl '$(/system/gateway-addr if [ -n "$oldgw" ]; then vyatta-vtysh --noerror -c "configure terminal" \ -c "no ip route 0.0.0.0/0 $oldgw" - vyatta-vtysh -c "configure terminal" -c "ip route 0.0.0.0/0 $VAR(@)" + fi + vyatta-vtysh -c "configure terminal" -c "ip route 0.0.0.0/0 $VAR(@)" delete: if ${vyatta_sbindir}/vyatta-gateway-static_route-check.pl "$VAR(@)" then vyatta-vtysh -c "configure terminal" -c "no ip route 0.0.0.0/0 $VAR(@)" fi |