summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/init.d/vyatta-ofr10
1 files changed, 4 insertions, 6 deletions
diff --git a/etc/init.d/vyatta-ofr b/etc/init.d/vyatta-ofr
index 4f8b7dd..aab2023 100755
--- a/etc/init.d/vyatta-ofr
+++ b/etc/init.d/vyatta-ofr
@@ -54,13 +54,11 @@ else
for s in ${all_subinits[@]} ; do
[ -x ${vyatta_sbindir}/${s}.init ] && subinit[${#subinit}]=$s
done
-# NOTE: rtrmgr (i.e. xorp) is mutually exclusive of quagga
- if [ -x /etc/init.d/quagga ] ; then
- # quagga should already be started.
- GROUP=quaggavty
- elif [ -x ${vyatta_sbindir}/rtrmgr.init ] ; then
- subinit[${#subinit}]=rtrmgr
+ if [ -x ${vyatta_sbindir}/rtrmgr.init ] ; then
+ subinit+=( rtrmgr )
GROUP=xorp
+ else
+ GROUP=quaggavty
fi
fi