#!/bin/bash

update-alternatives --altdir /opt/tsg/mrzcpd/altdir \
                                         --install \
                                         /opt/tsg/mrzcpd/bin/mrzcpd \
                                         mrzcpd \
                                         /opt/tsg/mrzcpd/znver1/bin/mrzcpd \
                                         100 \
										 --slave \
                                         /opt/tsg/mrzcpd/bin/mrtools-pinfo \
                                         mrtools-pinfo \
                                         /opt/tsg/mrzcpd/znver1/bin/mrtools-pinfo \
										 --slave \
                                         /opt/tsg/mrzcpd/bin/mrpdump \
                                         mrpdump\
                                         /opt/tsg/mrzcpd/znver1/bin/mrpdump \
										 --slave \
                                         /opt/tsg/mrzcpd/bin/monit_stream \
                                         monit_stream\
                                         /opt/tsg/mrzcpd/znver1/bin/monit_stream \
										 --slave \
                                         /opt/tsg/mrzcpd/bin/monit_device \
                                         monit_device \
                                         /opt/tsg/mrzcpd/znver1/bin/monit_device \
										 --slave \
                                         /opt/tsg/mrzcpd/bin/monit_obp \
                                         monit_obp \
                                         /opt/tsg/mrzcpd/znver1/bin/monit_obp \
										 --slave \
                                         /opt/tsg/mrzcpd/bin/dpdk-hugepages.py \
                                         dpdk-hugepages.py \
                                         /opt/tsg/mrzcpd/znver1/bin/dpdk-hugepages.py \
										 --slave \
                                         /opt/tsg/mrzcpd/bin/dpdk-devbind.py \
                                         dpdk-devbind.py \
                                         /opt/tsg/mrzcpd/znver1/bin/dpdk-devbind.py \
										 --slave \
                                         /opt/tsg/mrzcpd/bin/devbind.py \
                                         devbind.py \
                                         /opt/tsg/mrzcpd/znver1/bin/devbind.py \
										 --slave \
                                         /opt/tsg/mrzcpd/bin/mrmarch \
                                         mrmarch \
                                         /opt/tsg/mrzcpd/znver1/bin/mrmarch \
                                         --slave \
                                         /opt/tsg/mrzcpd/lib \
                                         lib \
                                         /opt/tsg/mrzcpd/znver1/lib \
                                         --slave \
                                         /opt/tsg/mrzcpd/include \
                                         include \
                                          /opt/tsg/mrzcpd/znver1/include \
                                         --slave \
                                         /usr/lib/systemd/system/mrapm_device.service \
                                         mrapm_device.service \
                                         /opt/tsg/mrzcpd/znver1/system/mrapm_device.service \
                                         --slave \
                                         /usr/lib/systemd/system/mrapm_stream.service \
                                         mrapm_stream.service \
                                         /opt/tsg/mrzcpd/znver1/system/mrapm_stream.service \
                                         --slave \
                                         /usr/lib/systemd/system/mrapm_obp.service \
                                         mrapm_obp.service \
                                         /opt/tsg/mrzcpd/znver1/system/mrapm_obp.service \
                                         --slave \
                                         /usr/lib/systemd/system/mrtunnat.service \
                                         mrtunnat.service \
                                         /opt/tsg/mrzcpd/znver1/system/mrtunnat.service \
                                         --slave \
                                         /usr/lib/systemd/system/mrzcpd_hugepages_setup.service \
                                         mrzcpd_hugepages_setup.service \
                                         /opt/tsg/mrzcpd/znver1/system/mrzcpd_hugepages_setup.service \
                                         --slave \
                                         /usr/lib/systemd/system/mrzcpd_hwdb_setup.service \
                                         mrzcpd_hwdb_setup.service \
                                         /opt/tsg/mrzcpd/znver1/system/mrzcpd_hwdb_setup.service \
                                         --slave \
                                         /usr/lib/systemd/system/mrzcpd.service\
                                         mrzcpd.service \
                                         /opt/tsg/mrzcpd/znver1/system/mrzcpd.service
