diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-30 15:28:35 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-30 15:28:35 -0700 |
commit | bb626b99b59133577e333cd2b5553cdc621c4ad7 (patch) | |
tree | 6b4417b20f57b33c3dae8495d764417c6fa55832 /templates/protocols/ospf/log-adjacency-changes | |
parent | 88bcee588c999abe4eae6fb12f01a8ca2d929279 (diff) | |
download | vyatta-cfg-quagga-bb626b99b59133577e333cd2b5553cdc621c4ad7.tar.gz vyatta-cfg-quagga-bb626b99b59133577e333cd2b5553cdc621c4ad7.zip |
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.
Diffstat (limited to 'templates/protocols/ospf/log-adjacency-changes')
-rw-r--r-- | templates/protocols/ospf/log-adjacency-changes/detail/node.def | 4 | ||||
-rw-r--r-- | templates/protocols/ospf/log-adjacency-changes/node.def | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/protocols/ospf/log-adjacency-changes/detail/node.def b/templates/protocols/ospf/log-adjacency-changes/detail/node.def index d9745af1..92e992fd 100644 --- a/templates/protocols/ospf/log-adjacency-changes/detail/node.def +++ b/templates/protocols/ospf/log-adjacency-changes/detail/node.def @@ -1,6 +1,6 @@ help: Set to log all state changes -create:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ +create:expression: "vyatta-vtysh -c \"configure terminal\" -c \"router ospf\" \ -c \"log-adjacency-changes detail\"; " -delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ +delete:expression: "vyatta-vtysh -c \"configure terminal\" -c \"router ospf\" \ -c \"no log-adjacency-changes detail\"; " diff --git a/templates/protocols/ospf/log-adjacency-changes/node.def b/templates/protocols/ospf/log-adjacency-changes/node.def index b3c78e12..7b56f74b 100644 --- a/templates/protocols/ospf/log-adjacency-changes/node.def +++ b/templates/protocols/ospf/log-adjacency-changes/node.def @@ -1,7 +1,7 @@ help: Set to log changes in adjacency state -create:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \ +create:expression: "vyatta-vtysh -c \"configure terminal\" \ -c \"router ospf\" \ -c \"log-adjacency-changes\"; " -delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \ +delete:expression: "vyatta-vtysh -c \"configure terminal\" \ -c \"router ospf\" \ -c \"no log-adjacency-changes\"; " |