#!/bin/sh
## Check if SFP are working by sending/receiving packets
##
##
##
## Authors: 
##	- Benoit Rat (Seven Solutions, www.sevensols.com)
##
## GNU Lesser General Public License Usage
## This file may be used under the terms of the GNU Lesser
## General Public License version 2.1 as published by the Free Software
## Foundation and appearing in the file LICENSE.LGPL included in the
## packaging of this file.  Please review the following information to
## ensure the GNU Lesser General Public License version 2.1 requirements
## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
#######################################################################################################

printf "======: $0\n"
. 000-functions.sh

##Start White Rabbit Service for SFP
echo "Start White Rabbit Service for SFP"
/wr/sbin/startup-mb.sh

echo "Loading WR... "
wrs-iftool -t 3 check

ret0="1"
exit_multierr $ret0 $ret1 $ret2
