summaryrefslogtreecommitdiff
path: root/templates/protocols/ripng/disable/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ripng/disable/node.def')
-rw-r--r--templates/protocols/ripng/disable/node.def12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/protocols/ripng/disable/node.def b/templates/protocols/ripng/disable/node.def
new file mode 100644
index 00000000..d23c9c5f
--- /dev/null
+++ b/templates/protocols/ripng/disable/node.def
@@ -0,0 +1,12 @@
+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"