summaryrefslogtreecommitdiff
path: root/etc/init.d
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2008-01-03 17:17:32 -0800
committerTom Grennan <tgrennan@vyatta.com>2008-01-03 17:17:32 -0800
commit62e9560404415217ffef5c547e28e96ddf2505a3 (patch)
treeba5c14423cab3295e7420fa8f929eeb936edcffc /etc/init.d
parentf437c62e5429f03aff962ca5885be8057359d75e (diff)
downloadvyatta-cfg-62e9560404415217ffef5c547e28e96ddf2505a3.tar.gz
vyatta-cfg-62e9560404415217ffef5c547e28e96ddf2505a3.zip
work w/ either quagga (debian) or vyatta-quagga packages
Diffstat (limited to 'etc/init.d')
-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