Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e545ab2a
authored
Jul 18, 2017
by
amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
script for cassi
parent
09acec63
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
199 additions
and
0 deletions
common/scripts/cust.run
common/scripts/cust.run
0 → 100755
View file @
e545ab2a
#!/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
############################################################
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment