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