diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-11 18:39:24 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-11 18:39:24 -0700 |
commit | 588492cf8a9ddf438b649c6db4986bcab9c22435 (patch) | |
tree | 20d85b8887a806be272c39e317cfef0baba95777 /templates/protocols/static | |
parent | f2d03803e6f10a430c1dc17436abd18f74b87a4d (diff) | |
download | vyatta-cfg-quagga-588492cf8a9ddf438b649c6db4986bcab9c22435.tar.gz vyatta-cfg-quagga-588492cf8a9ddf438b649c6db4986bcab9c22435.zip |
Replace vyatta-vtysh with vtysh
Diffstat (limited to 'templates/protocols/static')
6 files changed, 12 insertions, 12 deletions
diff --git a/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def b/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def index da7b7864..69d55efc 100644 --- a/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def +++ b/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def @@ -35,13 +35,13 @@ syntax:expression: exec " \ delete: touch /tmp/static.$PPID end: if [ -f "/tmp/static.$PPID" ]; then - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "no ip route $VAR(../@) $VAR(@)"; rm /tmp/static.$PPID; else if [ -n "$VAR(./distance/@)" ]; then DIST="$VAR(./distance/@)"; fi; - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "ip route $VAR(../@) $VAR(@) $DIST"; fi; diff --git a/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def b/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def index 981201b3..42ad9380 100644 --- a/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def +++ b/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def @@ -35,13 +35,13 @@ syntax:expression: exec " \ delete: touch /tmp/static.$PPID end: if [ -f "/tmp/static.$PPID" ]; then - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "no ipv6 route $VAR(../@) $VAR(@)"; rm /tmp/static.$PPID; else if [ -n "$VAR(./distance/@)" ]; then DIST="$VAR(./distance/@)"; fi; - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "ipv6 route $VAR(../@) $VAR(@) $DIST"; fi; diff --git a/templates/protocols/static/route/node.tag/blackhole/node.def b/templates/protocols/static/route/node.tag/blackhole/node.def index f3844833..4b9dc82a 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 - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "no ip route $VAR(../@) null0"; rm /tmp/static.$PPID; else if [ -n "$VAR(./distance/@)" ]; then DIST="$VAR(./distance/@)"; fi; - vyatta-vtysh -c "configure terminal" \ + 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 e631df83..4e17fd4c 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 - vyatta-vtysh -c "configure terminal" \ + 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 - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "ip route $VAR(../@) $VAR(@) $DIST"; fi diff --git a/templates/protocols/static/route6/node.tag/blackhole/node.def b/templates/protocols/static/route6/node.tag/blackhole/node.def index bd8601d5..bea74143 100644 --- a/templates/protocols/static/route6/node.tag/blackhole/node.def +++ b/templates/protocols/static/route6/node.tag/blackhole/node.def @@ -2,13 +2,13 @@ help: Set to silently discard pkts when matched delete:expression: "touch /tmp/static.$PPID" end: if [ -f "/tmp/static.$PPID" ]; then - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "no ipv6 route $VAR(../@) null0"; rm /tmp/static.$PPID; else if [ -n "$VAR(./distance/@)" ]; then DIST="$VAR(./distance/@)"; fi; - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "ipv6 route $VAR(../@) null0 $DIST"; fi; diff --git a/templates/protocols/static/route6/node.tag/next-hop/node.def b/templates/protocols/static/route6/node.tag/next-hop/node.def index 3f9cd440..1ec321fd 100644 --- a/templates/protocols/static/route6/node.tag/next-hop/node.def +++ b/templates/protocols/static/route6/node.tag/next-hop/node.def @@ -4,12 +4,12 @@ help: Set the next-hop IPv6 router delete: touch /tmp/static.$PPID end: if [ -f "/tmp/static.$PPID" ]; then if ${vyatta_sbindir}/vyatta-gateway-static_route-check.pl "$VAR(../@)" "$VAR(@)"; then - vyatta-vtysh -c "configure terminal" -c "no ipv6 route $VAR(../@) $VAR(@)" ; + vtysh -c "configure terminal" -c "no ipv6 route $VAR(../@) $VAR(@)" ; fi; rm /tmp/static.$PPID; else if [ -n "$VAR(./distance/@)" ]; then DIST="$VAR(./distance/@)"; fi; - vyatta-vtysh -c "configure terminal" -c "ipv6 route $VAR(../@) $VAR(@) $DIST"; + vtysh -c "configure terminal" -c "ipv6 route $VAR(../@) $VAR(@) $DIST"; fi; |