summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-05 16:42:48 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-05 16:42:48 -0800
commit5db776a29c90d05f864645e7e171840660f4b268 (patch)
treedf8d452272a33ffea3732138c17e8439967e402f /templates/protocols/ospf
parentdc847212c3a95016a315f4aaf3bf3e134d2bbebd (diff)
downloadvyatta-cfg-quagga-5db776a29c90d05f864645e7e171840660f4b268.tar.gz
vyatta-cfg-quagga-5db776a29c90d05f864645e7e171840660f4b268.zip
Move sudo from vyatta-protocol to nodes
Much cleaner to do sudo once rather than repeatedly
Diffstat (limited to 'templates/protocols/ospf')
-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