47 lines
1.7 KiB
Bash
47 lines
1.7 KiB
Bash
#!/bin/bash
|
|
# function mntw645lights(){
|
|
# smount sysadmin@testvpn.kebler.net:/home/sysadmin /mnt/645/lights/controller/sysadmin -p 322
|
|
# smount sysadmin@testvpn.kebler.net:/opt /mnt/645/lights/controller/opt -p 322
|
|
# smount root@testvpn.kebler.net:/ /mnt/645/lights/controller/root -p 322
|
|
# }
|
|
|
|
function mnt645lights(){
|
|
smount sysadmin@controller.lights.645.kebler.net:/home/sysadmin /mnt/645/lights/controller/sysadmin -p 22
|
|
smount sysadmin@controller.lights.645.kebler.net:/opt /mnt/645/lights/controller/opt -p 22
|
|
smount root@controller.lights.645.kebler.net:/ /mnt/645/lights/controller/root -p 22
|
|
}
|
|
|
|
function umnt645lights(){
|
|
usmount /mnt/645/lights/controller/opt
|
|
usmount /mnt/645/lights/controller/root
|
|
usmount /mnt/645/lights/controller/sysadmin
|
|
}
|
|
|
|
# via lights firewall at port 222
|
|
function mnt645relays(){
|
|
smount sysadmin@controller.lights.645.kebler.net:/home/sysadmin /mnt/645/lights/relays/sysadmin -p 222
|
|
smount sysadmin@controller.lights.645.kebler.net:/opt /mnt/645/lights/relays/opt -p 222
|
|
smount root@controller.lights.645.kebler.net:/ /mnt/645/lights/relays/root -p 222
|
|
}
|
|
|
|
|
|
function umnt645relays(){
|
|
usmount /mnt/645/lights/relays/opt
|
|
usmount /mnt/645/lights/relays/root
|
|
usmount /mnt/645/lights/relays/sysadmin
|
|
}
|
|
|
|
# via lights firewall at port 122
|
|
function mnt645switches(){
|
|
smount sysadmin@controller.lights.645.kebler.net:/home/sysadmin /mnt/645/lights/switches/sysadmin -p 122
|
|
smount sysadmin@controller.lights.645.kebler.net:/opt /mnt/645/lights/switches/opt -p 122
|
|
smount root@controller.lights.645.kebler.net:/ /mnt/645/lights/switches/root -p 122
|
|
}
|
|
|
|
|
|
function umnt645switches(){
|
|
usmount /mnt/645/lights/switches/opt
|
|
usmount /mnt/645/lights/switches/root
|
|
usmount /mnt/645/lights/switches/sysadmin
|
|
}
|