summaryrefslogtreecommitdiff
path: root/templates/protocols
diff options
context:
space:
mode:
authorMichael Larson <mike@vyatta.com>2010-11-18 16:50:14 -0800
committerMichael Larson <mike@vyatta.com>2010-11-18 16:50:14 -0800
commit9e96657b9eb64e9cdc77fdfbfadc7ee211c2965e (patch)
tree4d305dc456aa0cac05f875cf7b38e767e5a3ad8e /templates/protocols
parentcea49c020969bc157982c56c3962ad5ae99dbc7f (diff)
downloadvyatta-cfg-quagga-9e96657b9eb64e9cdc77fdfbfadc7ee211c2965e.tar.gz
vyatta-cfg-quagga-9e96657b9eb64e9cdc77fdfbfadc7ee211c2965e.zip
pkg-release picks up changes outside of current branch apparently...
Revert "better solution for mendocino--removes patch from larkspur." This reverts commit cea49c020969bc157982c56c3962ad5ae99dbc7f.
Diffstat (limited to 'templates/protocols')
-rw-r--r--templates/protocols/bgp/node.def5
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def
index bd7916eb..44319838 100644
--- a/templates/protocols/bgp/node.def
+++ b/templates/protocols/bgp/node.def
@@ -8,8 +8,7 @@ syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294 ; \
"AS number must be between 1 and 4294967294"
end:
-
-if [ "$COMMIT_SIBLING_POSITION" = "FIRST" ] || \
- [ "$COMMIT_SIBLING_POSITION" = "FIRSTLAST" ] ; then
+if [ ! -f "/tmp/protocols-bgp.$PPID" ]; then
+ touch /tmp/protocols-bgp.$PPID;
/opt/vyatta/sbin/vyatta-bgp.pl --main
fi; \ No newline at end of file