summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp/disable/node.def
blob: 2795453f26ad7514aea3d10426547c8ff088a7ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"