From a5f6345aa9876560a1ccbfca1313fdd05e7ea752 Mon Sep 17 00:00:00 2001 From: slioch Date: Thu, 19 Feb 2009 16:57:33 -0800 Subject: changes to support bgp start/stop --- templates/protocols/bgp/disable/node.def | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 templates/protocols/bgp/disable/node.def (limited to 'templates/protocols/bgp/disable') 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" -- cgit v1.2.3