summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/default-metric/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/default-metric/node.def')
-rw-r--r--templates/protocols/ospf/default-metric/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ospf/default-metric/node.def b/templates/protocols/ospf/default-metric/node.def
index 90fba236..f147d611 100644
--- a/templates/protocols/ospf/default-metric/node.def
+++ b/templates/protocols/ospf/default-metric/node.def
@@ -1,7 +1,7 @@
type: u32
help: "Set metric of redistributed routes"
syntax: $(@) >= 0 && $(@) <= 16777214; "Must be between 0-16777214"
-update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
-c \"default-metric $(@) \"; "
-delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
-c \"no default-metric $(@) \"; "