summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/node.def')
-rw-r--r--templates/protocols/ospf/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ospf/node.def b/templates/protocols/ospf/node.def
index 5405abac..f14b1fb8 100644
--- a/templates/protocols/ospf/node.def
+++ b/templates/protocols/ospf/node.def
@@ -1,5 +1,5 @@
help: Configure Open Shortest Path First protocol (OSPF) parameters
-create: /opt/vyatta/sbin/vyatta-protocol start ospfd
+create: sudo ${vyatta_sbindir}/vyatta-protocol start ospfd
vyatta-vtysh -c "configure terminal" -c "router ospf"
delete: vyatta-vtysh -c "configure terminal" -c "no router ospf"
- /opt/vyatta/sbin/vyatta-protocol stop ospfd
+ sudo ${vyatta_sbindir}/vyatta-protocol stop ospfd