#!/bin/sh

URL="http://localhost:8845/MSU/JumpPage.php?Target=StoragePage"
BROWSER=`which firefox`
RETVAL=0

if [ "x$BROWSER" = "x" ]
then
        echo "Please install Mozilla Firefox first, and otherwise you can use MSU with other \
computer's browser(Firefox or Microsoft Internet Explorer) by accessing link : \
http://<MACHINE_IP_ADDRESS>:8845/MSU/JumpPage.php?Target=StoragePage"
        echo
else
        /opt/marvell/storage/svc/MSUWebService start  >/dev/null 2>&1 &
        /opt/marvell/storage/svc/MarvellStorageAgent  start  >/dev/null 2>&1 &
        $BROWSER $URL >/dev/null 2>&1 &
fi
