summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/distance/global/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/distance/global/node.def')
-rw-r--r--templates/protocols/ospf/distance/global/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ospf/distance/global/node.def b/templates/protocols/ospf/distance/global/node.def
index 6b45a976..d88a761b 100644
--- a/templates/protocols/ospf/distance/global/node.def
+++ b/templates/protocols/ospf/distance/global/node.def
@@ -1,9 +1,9 @@
type: u32
help: "OSPF administrative distance"
syntax: $(@) >= 1 && $(@) <= 255; "Must be between 1-255"
-update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
-c \"distance $(@) \"; "
-delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
-c \"no distance $(@) \"; "