diff options
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 | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/protocols/static/route/node.tag/blackhole/node.def b/templates/protocols/static/route/node.tag/blackhole/node.def index 14375e0e..b2272e68 100644 --- a/templates/protocols/static/route/node.tag/blackhole/node.def +++ b/templates/protocols/static/route/node.tag/blackhole/node.def @@ -1,12 +1,12 @@ help: Set to silently discard pkts when matched end: if [ ${COMMIT_ACTION} = 'DELETE' ]; then - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "no ip route $VAR(../@) null0"; 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 f3119da1..e0cb6862 100644 --- a/templates/protocols/static/route/node.tag/next-hop/node.def +++ b/templates/protocols/static/route/node.tag/next-hop/node.def @@ -9,7 +9,7 @@ end: 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 else @@ -17,14 +17,14 @@ end: then DIST="$VAR(./distance/@)" fi - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "ip route $VAR(../@) $VAR(@) $DIST"; fi else 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 fi |