An automate shell linux script to install mts mblaze ui application in all linux distros.this shell script automatically install the mts mblaze ui in your linux systems .installation script will setup everything need to choose some option interactively from setup.Script can work for all linux environments.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | #!/bin/bash
#This Script is written by emilgeorgejames - emilgeorgejames@gmail.com date : 9-2-2015
# - emilgeorgejames.wordpress.com
# - emil.george.james@hotmail.com
# script to automatic installation of mts mblaze UI
echo "
+-+-+-+-+-+-+-+-+-+-+-+-+
| MTS MBLAZE UI |
+-+-+-+-+-+-+-+-+-+-+-+-+
"
# define common function
echo "MTS MBLAZE WIRELESSS DATA USB MODEM TERMINAL INSTALLATION GUIDE"
echo ""
echo "Select model for your MTS MBLAZE modem"
sleep 2
echo ""
echo "There are two types of modem "
echo "
`printf "1"``echo ""` MTS-MBLAZE-MINI
`printf "2"``echo ""` MTS -MBLAZE-ULTRA"
echo ""
sleep 1
echo "Type (1 to 2): "
while read Input
do
# for mts-mblaze-mini
if [ $Input = "1" ]; then
{
echo "You have selcted MTS-MBLAZE-MINI"
sleep 1
echo "starting installation.................. "
sleep 1
echo "Downloading and installing ....."
sleep 2
cd && wget -O Linux.zip https://www.dropbox.com/s/2osuilo99kc3h15/Linux.zip?dl=0
unzip -o Linux.zip -d $HOME/
rm Linux.zip
cd && wget -O install_linux.sh https://www.dropbox.com/s/jk0wrpcok02r6wt/install_linux.sh?dl=0
cd && chmod +x install_linux.sh && ./install_linux.sh
}
break;
# for mts-mblaze-ultra
elif [ $Input = "2" ]; then
{
echo "You have selcted MTS-MBLAZE-ULTRA"
sleep 1
echo " starting installation................"
sleep 1
echo "Downloading and installing ....."
sleep 2
cd && wget -O Linuxx.zip https://www.dropbox.com/s/yirj4d1cpet1i1a/Linuxx.zip?dl=0
unzip -o Linuxx.zip -d $HOME/
rm Linuxx.zip
cd && wget -O install_linux2.sh https://www.dropbox.com/s/tuggjr3jqdnlwil/install_linux2.sh?dl=0
cd && chmod +x install_linux2.sh && ./install_linux2.sh
}
break;
else
echo "Input is invalid!!!"
echo "Type right model of modem."
echo ""
echo "Type from (1 to 2): "
fi # closed
done # all done
|
for output and more information visit https://emilgeorgejames.wordpress.com/2015/02/10/a-script-to-automate-installing-mts-mblaze-ui-in-linux/