summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp/disable/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/bgp/disable/node.def')
-rw-r--r--templates/protocols/bgp/disable/node.def12
1 files changed, 0 insertions, 12 deletions
diff --git a/templates/protocols/bgp/disable/node.def b/templates/protocols/bgp/disable/node.def
deleted file mode 100644
index 2795453f..00000000
--- a/templates/protocols/bgp/disable/node.def
+++ /dev/null
@@ -1,12 +0,0 @@
-type: bool
-help: Disable BGP daemon
-default: false
-update: if [ $VAR(@) == "true" ];
- then sudo ${vyatta_sbindir}/vyatta-protocol stop bgpd
- else sudo ${vyatta_sbindir}/vyatta-protocol start bgpd
- fi
-possible completions:
- true Stop BGP daemon
- false Start BGP daemon
-
-allowed: echo "true false"