summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control2
-rwxr-xr-xetc/init.d/vyatta-ofr10
2 files changed, 5 insertions, 7 deletions
diff --git a/debian/control b/debian/control
index 0ebf92d..a7990bd 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Depends: bash (>= 3.1),
sed (>= 4.1.5),
perl (>= 5.8.8),
procps (>= 1:3.2.7-3),
- quagga,
+ vyatta-quagga | quagga,
coreutils (>= 5.97-5.3),
vyatta-op,
vyatta-config-migrate,
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