diff options
Diffstat (limited to 'templates/protocols/ospf/neighbor')
3 files changed, 6 insertions, 6 deletions
diff --git a/templates/protocols/ospf/neighbor/node.def b/templates/protocols/ospf/neighbor/node.def index 4c32123a..baa994d8 100644 --- a/templates/protocols/ospf/neighbor/node.def +++ b/templates/protocols/ospf/neighbor/node.def @@ -1,7 +1,7 @@ tag: type: ipv4 help: "Neighbor IP address" -create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ +create: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ -c \"neighbor $(@)\"; " -delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ +delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ -c \"no neighbor $(@)\"; " diff --git a/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def b/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def index f0422442..9bd63ae0 100644 --- a/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def +++ b/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def @@ -1,7 +1,7 @@ type: u32 help: "Dead neighbor polling interval" syntax: $(@) >= 1 && $(@) <= 65535; "Must be between 1-65535 seconds" -update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ +update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ -c \"neighbor $(../@) poll-interval $(@)\"; " -delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ +delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ -c \"no neighbor $(../@) poll-interval $(@)\"; " diff --git a/templates/protocols/ospf/neighbor/node.tag/priority/node.def b/templates/protocols/ospf/neighbor/node.tag/priority/node.def index a62838a3..7d50ed8b 100644 --- a/templates/protocols/ospf/neighbor/node.tag/priority/node.def +++ b/templates/protocols/ospf/neighbor/node.tag/priority/node.def @@ -1,7 +1,7 @@ type: u32 help: "Neighbor priority in seconds" syntax: $(@) >= 0 && $(@) <= 255; "Priority must be between 0-255" -update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ +update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ -c \"neighbor $(../@) priority $(@)\"; " -delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ +delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ -c \"no neighbor $(../@) priority $(@)\"; " |