Commit e545ab2a by amir

script for cassi

parent 09acec63
Showing with 199 additions and 0 deletions
#!/bin/csh -f
while 1
Main_Menu:
/bin/clear
echo "Main menu"
echo "---------"
echo "0 - Exit"
echo "1 - SSH"
echo "2 - FTP"
echo -n "Select option =>"
set option = $<
switch ( $option )
case 0:
exit 0
breaksw
case 1:
set method = "ssh -l cassi"
goto CUSTOMER
breaksw
case 2:
set method = ftp
goto CUSTOMER
breaksw
endsw
end
while 1
CUSTOMER:
/bin/clear
echo "Customer:"
echo "---------"
echo "0 - Exit"
echo "2 - Mega"
echo "3 - Cablecolor"
echo "4 - JMData"
echo "5 - Planex"
echo -n "Select option =>"
set option = $<
/bin/clear
echo " "
switch ( $option )
case 0:
exit 0
breaksw
case 2:
goto MEGA
breaksw
case 3:
goto Cablecolor
breaksw
case 4:
goto JMData
breaksw
case 5:
goto Planex
breaksw
endsw
###########################################################
MEGA:
/bin/clear
while 1
echo "Megacable Servers:"
echo "------------------"
echo "0 - Exit "
echo "1 - RTDB GDL "
echo "2 - RTDB GDL BU"
echo "3 - RTDB CLN "
echo "4 - RTDB PUE "
echo -n "Select option => "
set option = $<
/bin/clear
echo " "
switch ( $option )
case 0:
goto Main_Menu
breaksw
case 1:
banner Connect RTDB GDL
$method 200.52.193.203
breaksw
case 2:
banner Connect GDL RTDB BU
$method 200.52.205.108
breaksw
case 3:
banner Connect RTDB CLN
$method 200.52.167.43
breaksw
case 4:
banner Connect RTDB PUE
$method 200.52.173.97
breaksw
goto Main_Menu
end
############################################################
Cablecolor:
/bin/clear
while 1
echo "FiberNet servers:"
echo "---------------"
echo "0 - Exit"
echo "1 - CMS1"
echo -n "Select option => "
set option = $<
/bin/clear
switch ( $option )
case 0:
goto Main_Menu
breaksw
case 1:
banner Connect Cablecolor CMS 1
$method 205.240.200.55
breaksw
endsw
goto Main_Menu
end
############################################################
JMData:
/bin/clear
while 1
echo "JMData servers:"
echo "---------------"
echo "0 - Exit"
echo "1 - CMS Austria Main"
echo "2 - CMS Macedonia Main"
echo "3 - BSS Austria"
echo "4 - RKS"
echo -n "Select option => "
set option = $<
/bin/clear
switch ( $option )
case 0:
goto Main_Menu
breaksw
case 1:
banner Connect CMS Austria Main
$method -p 2430 62.93.80.7
breaksw
case 2:
banner Connect CMS Macedonia Main
$method -p 2430 62.93.80.3
breaksw
case 3:
banner Connect BSS Austria
$method -p 2430 85.13.41.10
breaksw
case 4:
banner Connect RKS
$method -p 2430 capri@82.192.20.60
breaksw
endsw
goto Main_Menu
end
############################################################
Planex:
/bin/clear
while 1
echo "Ortel servers:"
echo "---------------"
echo "0 - Exit"
echo "1 - CMS1 Puerto Rico"
echo "2 - CMS1 Lab"
echo -n "Select option => "
set option = $<
/bin/clear
switch ( $option )
case 0:
goto Main_Menu
breaksw
case 1:
banner Connect CMS1 Puerto Rico
$method -p 2222 186.5.240.21
breaksw
case 2:
banner Connect CMS1 Lab
$method -p 223 24.232.255.2
breaksw
endsw
goto Main_Menu
end
############################################################
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment