From bb626b99b59133577e333cd2b5553cdc621c4ad7 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 30 Jul 2008 15:28:35 -0700 Subject: Replace calls to vyatta-vtysh perl script with vyatta-vtysh No longer need the perl wrapper, the logging and error suppression are now in the command itself. This helps with the speed of route creation with lots of routes. --- templates/protocols/ospf/access-list/node.tag/export/node.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/protocols/ospf/access-list') diff --git a/templates/protocols/ospf/access-list/node.tag/export/node.def b/templates/protocols/ospf/access-list/node.tag/export/node.def index 15855424..0b1d1e1d 100644 --- a/templates/protocols/ospf/access-list/node.tag/export/node.def +++ b/templates/protocols/ospf/access-list/node.tag/export/node.def @@ -2,10 +2,10 @@ multi: type: txt help: Set filter for outgoing routing updates syntax:expression: $VAR(@) in "bgp", "connected", "kernel", "rip", "static"; "Must be (bgp, connected, kernel, rip, or static)" -create: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ +create: vyatta-vtysh -c "configure terminal" \ -c "router ospf" \ -c "distribute-list $VAR(../@) out $VAR(@)"; -delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ +delete: vyatta-vtysh -c "configure terminal" \ -c "router ospf" \ -c "no distribute-list $VAR(../@) out $VAR(@)"; comp_help: possible completions: -- cgit v1.2.3