summaryrefslogtreecommitdiff
path: root/templates/protocols/rip
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/rip')
-rw-r--r--templates/protocols/rip/disable/node.def12
-rw-r--r--templates/protocols/rip/node.def2
2 files changed, 2 insertions, 12 deletions
diff --git a/templates/protocols/rip/disable/node.def b/templates/protocols/rip/disable/node.def
deleted file mode 100644
index 4cd56588..00000000
--- a/templates/protocols/rip/disable/node.def
+++ /dev/null
@@ -1,12 +0,0 @@
-type: bool
-help: Disable RIP daemon
-default: false
-update: if [ $VAR(@) == "true" ];
- then sudo ${vyatta_sbindir}/vyatta-protocol stop ripd
- else sudo ${vyatta_sbindir}/vyatta-protocol start ripd
- fi
-possible completions:
- true Stop RIP daemon
- false Start RIP daemon
-
-allowed: echo "true false"
diff --git a/templates/protocols/rip/node.def b/templates/protocols/rip/node.def
index 541baa8d..b7f085a5 100644
--- a/templates/protocols/rip/node.def
+++ b/templates/protocols/rip/node.def
@@ -1,3 +1,5 @@
help: Configure Routing Information Protocol (RIP) parameters
+begin: sudo /opt/vyatta/sbin/quagga-manager start ripd
create: vyatta-vtysh -c "configure terminal" -c "router rip"
delete: vyatta-vtysh -c "configure terminal" -c "no router rip"
+end: sudo /opt/vyatta/sbin/quagga-manager update