summaryrefslogtreecommitdiff
path: root/templates/protocols/ripng/disable/node.def
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-02-16 18:02:17 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-02-16 18:02:17 -0800
commitc45f7b9f8daae3b96c76fac3363a507c22b9d9f3 (patch)
treeb8e46d0fe080426aaa9beca23cd843a0212ee73f /templates/protocols/ripng/disable/node.def
parent0f4a6d1a24f937aafc6ba2014c94dc42cf9251eb (diff)
parent5205f4cd0d68a78c86fce6588f9c276861bb9cdd (diff)
downloadvyatta-cfg-quagga-c45f7b9f8daae3b96c76fac3363a507c22b9d9f3.tar.gz
vyatta-cfg-quagga-c45f7b9f8daae3b96c76fac3363a507c22b9d9f3.zip
Merge branch 'jenner' of http://git.vyatta.com/vyatta-cfg-quagga into jenner
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"