diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-05 16:42:48 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-05 16:42:48 -0800 |
commit | 5db776a29c90d05f864645e7e171840660f4b268 (patch) | |
tree | df8d452272a33ffea3732138c17e8439967e402f /templates/protocols/rip/node.def | |
parent | dc847212c3a95016a315f4aaf3bf3e134d2bbebd (diff) | |
download | vyatta-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/rip/node.def')
-rw-r--r-- | templates/protocols/rip/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/rip/node.def b/templates/protocols/rip/node.def index a77bdb30..20cb58ad 100644 --- a/templates/protocols/rip/node.def +++ b/templates/protocols/rip/node.def @@ -1,7 +1,7 @@ help: Configure Routing Information Protocol (RIP) parameters -create: /opt/vyatta/sbin/vyatta-protocol start ripd +create: sudo ${vyatta_sbindir}/vyatta-protocol start ripd vyatta-vtysh -c "configure terminal" -c "router rip" delete: vyatta-vtysh -c "configure terminal" -c "no router rip" - /opt/vyatta/sbin/vyatta-protocol stop ripd + sudo ${vyatta_sbindir}/vyatta-protocol stop ripd |