summaryrefslogtreecommitdiff
path: root/templates/protocols/ripng
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/ripng
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/ripng')
-rw-r--r--templates/protocols/ripng/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ripng/node.def b/templates/protocols/ripng/node.def
index 18735607..73f86c92 100644
--- a/templates/protocols/ripng/node.def
+++ b/templates/protocols/ripng/node.def
@@ -1,5 +1,5 @@
help: Configure Routing Information Protocol (RIPng) parameters
-create: /opt/vyatta/sbin/vyatta-protocol start ripngd
+create: sudo ${vyatta_sbindir}/vyatta-protocol start ripngd
vyatta-vtysh -c "configure terminal" -c "router ripng"
delete: vyatta-vtysh -c "configure terminal" -c "no router ripng"
- /opt/vyatta/sbin/vyatta-protocol stop ripngd
+ sudo ${vyatta_sbindir}/vyatta-protocol stop ripngd