diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-12 12:29:28 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-12 12:29:28 -0700 |
commit | fa69d96c5958a579900600734549038ac12e93bc (patch) | |
tree | f91a61d9de326812808ec75badfd316de9d2ce77 /templates/protocols/static/route | |
parent | 588492cf8a9ddf438b649c6db4986bcab9c22435 (diff) | |
download | vyatta-cfg-quagga-fa69d96c5958a579900600734549038ac12e93bc.tar.gz vyatta-cfg-quagga-fa69d96c5958a579900600734549038ac12e93bc.zip |
Revert "Replace vyatta-vtysh with vtysh"
This reverts commit 588492cf8a9ddf438b649c6db4986bcab9c22435.
Diffstat (limited to 'templates/protocols/static/route')
-rw-r--r-- | templates/protocols/static/route/node.tag/blackhole/node.def | 4 | ||||
-rw-r--r-- | templates/protocols/static/route/node.tag/next-hop/node.def | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/protocols/static/route/node.tag/blackhole/node.def b/templates/protocols/static/route/node.tag/blackhole/node.def index 4b9dc82a..f3844833 100644 --- a/templates/protocols/static/route/node.tag/blackhole/node.def +++ b/templates/protocols/static/route/node.tag/blackhole/node.def @@ -3,13 +3,13 @@ help: Set to silently discard pkts when matched delete: touch /tmp/static.$PPID end: if [ -f "/tmp/static.$PPID" ]; then - vtysh -c "configure terminal" \ + vyatta-vtysh -c "configure terminal" \ -c "no ip route $VAR(../@) null0"; rm /tmp/static.$PPID; else if [ -n "$VAR(./distance/@)" ]; then DIST="$VAR(./distance/@)"; fi; - vtysh -c "configure terminal" \ + vyatta-vtysh -c "configure terminal" \ -c "ip route $VAR(../@) null0 $DIST"; fi; diff --git a/templates/protocols/static/route/node.tag/next-hop/node.def b/templates/protocols/static/route/node.tag/next-hop/node.def index 4e17fd4c..e631df83 100644 --- a/templates/protocols/static/route/node.tag/next-hop/node.def +++ b/templates/protocols/static/route/node.tag/next-hop/node.def @@ -7,7 +7,7 @@ end: if [[ -f /tmp/static.$PPID ]] if ${vyatta_sbindir}/vyatta-gateway-static_route-check.pl \ "$VAR(../@)" "$VAR(@)" then - vtysh -c "configure terminal" \ + vyatta-vtysh -c "configure terminal" \ -c "no ip route $VAR(../@) $VAR(@)" fi rm -f /tmp/static.$PPID @@ -16,6 +16,6 @@ end: if [[ -f /tmp/static.$PPID ]] then DIST="$VAR(./distance/@)" fi - vtysh -c "configure terminal" \ + vyatta-vtysh -c "configure terminal" \ -c "ip route $VAR(../@) $VAR(@) $DIST"; fi |